Test fetching the iD frame when not logged in
This commit is contained in:
parent
f4749eccf1
commit
e9887f88ed
1 changed files with 8 additions and 0 deletions
|
@ -520,4 +520,12 @@ class SiteControllerTest < ActionDispatch::IntegrationTest
|
||||||
assert_template "id"
|
assert_template "id"
|
||||||
assert_template :layout => false
|
assert_template :layout => false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Test the id frame when not logged in
|
||||||
|
def test_id_without_login
|
||||||
|
get id_path
|
||||||
|
|
||||||
|
assert_response :redirect
|
||||||
|
assert_redirected_to login_path(:referer => "/id")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue