diff --git a/spec/features/authentication_spec.rb b/spec/features/authentication_spec.rb index b14f5a87..09ed14c3 100644 --- a/spec/features/authentication_spec.rb +++ b/spec/features/authentication_spec.rb @@ -50,7 +50,7 @@ sign_in(admin) expect(current_path).to eq(admin_root_path) - expect(page).to have_css(".flash--notice", text: "success") + expect(page).to have_css(".flash-notice", text: "success") end end