Skip to content

Commit 6cdbc31

Browse files
committed
Merge pull request rubocop#42 from ArturT/master
Small fix & add missing parentheses
2 parents 591c269 + f28046b commit 6cdbc31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,12 +1123,12 @@ they will retry the match for given timeout allowing you to test ajax actions.
11231123
= "Published at: #{formatted_date(@article.published_at)}"
11241124
11251125
# spec/views/articles/show.html.haml_spec.rb
1126-
describe 'articles/show.html.html' do
1126+
describe 'articles/show.html.haml' do
11271127
it 'displays the formatted date of article publishing'
11281128
article = mock_model(Article, published_at: Date.new(2012, 01, 01))
11291129
assign(:article, article)
11301130
1131-
template.stub(:formatted_date).with(article.published_at).and_return '01.01.2012'
1131+
template.stub(:formatted_date).with(article.published_at).and_return('01.01.2012')
11321132
11331133
render
11341134
rendered.should have_content('Published at: 01.01.2012')

0 commit comments

Comments
 (0)