From 7df229531232ebb028548a535da8a5ee84d18bc2 Mon Sep 17 00:00:00 2001 From: Artur Trzop Date: Thu, 21 Dec 2023 15:22:37 +0100 Subject: [PATCH] Update articles_controller_spec.rb make the name of test case not to depend on the object timestamps --- spec/controllers/articles_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/articles_controller_spec.rb b/spec/controllers/articles_controller_spec.rb index d3e1d93..4e9d684 100644 --- a/spec/controllers/articles_controller_spec.rb +++ b/spec/controllers/articles_controller_spec.rb @@ -15,7 +15,7 @@ get :index end - it do + it 'assigns the article' do expect(assigns(:articles)).to eq articles end