rubocop -a
This commit is contained in:
@@ -4,7 +4,7 @@ describe ApplicationHelper do
|
||||
describe '.title' do
|
||||
it 'sets content for :title' do
|
||||
helper.title 'test'
|
||||
expect(view.content_for :title).to eq 'test'
|
||||
expect(view.content_for(:title)).to eq 'test'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user