mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Ensure flash messages work with Devise::TestHelper, closes #327
This commit is contained in:
parent
b2c2cb272f
commit
a39312e26b
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ class TestHelpersTest < ActionController::TestCase
|
|||
test "redirects if attempting to access a page unauthenticated" do
|
||||
get :index
|
||||
assert_redirected_to new_user_session_path
|
||||
assert_equal "You need to sign in or sign up before continuing.", flash[:alert]
|
||||
end
|
||||
|
||||
test "redirects if attempting to access a page with a unconfirmed account" do
|
||||
|
|
Loading…
Add table
Reference in a new issue