spec/featrues/nyauth/registrations_spec.rb in nyauth-0.1.0 vs spec/featrues/nyauth/registrations_spec.rb in nyauth-0.2.0
- old
+ new
@@ -17,9 +17,9 @@
end
scenario "can't create user" do
click_button('Sign up')
- expect(page).to have_content('errors')
+ expect(page).to have_content("can't")
end
end
end