diff options
| author | Teddy Wing | 2015-12-08 01:29:13 -0500 |
|---|---|---|
| committer | Teddy Wing | 2015-12-08 01:29:47 -0500 |
| commit | 8513c8d87e21ab477a438962bac8ad63c8987789 (patch) | |
| tree | 09abab61c381b5349235c05717a3b67915ac3194 /test | |
| parent | a6c33077c7ac124e6c4db6ad272ab67226aba354 (diff) | |
| download | Ruby-Web-Sessions-Exercise-8513c8d87e21ab477a438962bac8ad63c8987789.tar.bz2 | |
Add logged_in.erb template
Template that displays when the user is logged in.
Adjust the login test to check for the text in this template.
Diffstat (limited to 'test')
| -rw-r--r-- | test/integration/auth_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/auth_test.rb b/test/integration/auth_test.rb index 285fdbe..7fa2950 100644 --- a/test/integration/auth_test.rb +++ b/test/integration/auth_test.rb @@ -30,6 +30,7 @@ class TestAuth < CapybaraTestCase login_with_correct_credentials assert_equal 200, page.status_code + assert_text "You're logged in!" end def test_logout |
