@@ -496,7 +496,7 class UserTest < ActiveSupport::TestCase | |||||
496 | end |
|
496 | end | |
497 |
|
497 | |||
498 | context "with an unsuccessful authentication" do |
|
498 | context "with an unsuccessful authentication" do | |
499 |
should "return |
|
499 | should "return nil" do | |
500 | assert_nil User.try_to_login('example1', '11111') |
|
500 | assert_nil User.try_to_login('example1', '11111') | |
501 | end |
|
501 | end | |
502 | end |
|
502 | end | |
@@ -546,7 +546,7 class UserTest < ActiveSupport::TestCase | |||||
546 | end |
|
546 | end | |
547 |
|
547 | |||
548 | context "with an unsuccessful authentication" do |
|
548 | context "with an unsuccessful authentication" do | |
549 |
should "return |
|
549 | should "return nil" do | |
550 | assert_nil User.try_to_login('example1', '11111') |
|
550 | assert_nil User.try_to_login('example1', '11111') | |
551 | end |
|
551 | end | |
552 | end |
|
552 | end |
General Comments 0
You need to be logged in to leave comments.
Login now