Removed unused let blocks (#7446)

The bodies of these blocks were never evaluated.
This commit is contained in:
Daniel Waterworth
2019-04-29 07:08:56 +00:00
committed by Guo Xiang Tan
parent 17b34f5744
commit ad44243a57
34 changed files with 0 additions and 74 deletions

View File

@ -251,8 +251,6 @@ describe CategoriesController do
end
describe "logged in" do
let(:valid_attrs) { { id: category.id, name: "hello", color: "ff0", text_color: "fff" } }
before do
sign_in(admin)
end
@ -399,8 +397,6 @@ describe CategoriesController do
end
describe 'logged in' do
let(:valid_attrs) { { id: category.id, slug: 'fff' } }
before do
sign_in(admin)
end