From eac700b2f3cb06ca43585d9709d2f827c02e56f9 Mon Sep 17 00:00:00 2001 From: Sophie Deziel Date: Thu, 14 Sep 2017 01:00:02 -0400 Subject: [PATCH] update the flash class --- spec/features/authentication_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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