Skip to content

Commit

Permalink
Update articles_controller_spec.rb
Browse files Browse the repository at this point in the history
make the name of test case not to depend on the object timestamps
  • Loading branch information
ArturT committed Dec 21, 2023
1 parent e4294c2 commit 7df2295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/articles_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
get :index
end

it do
it 'assigns the article' do
expect(assigns(:articles)).to eq articles
end

Expand Down

0 comments on commit 7df2295

Please sign in to comment.