diff --git a/spec/views/items/index.html.erb_spec.rb b/spec/views/items/index.html.erb_spec.rb index 9636a25e..9279da38 100644 --- a/spec/views/items/index.html.erb_spec.rb +++ b/spec/views/items/index.html.erb_spec.rb @@ -12,7 +12,7 @@ ]) end - it "renders a list of items" do + it "renders a list of items on screen" do render cell_selector = Rails::VERSION::STRING >= '7' ? 'div>p' : 'tr>td' assert_select cell_selector, text: Regexp.new("Name".to_s), count: 2