Fixed test names (#1913).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9242 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fdeb398c5e
commit
77314ebe8f
|
@ -496,7 +496,7 @@ class UserTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
context "with an unsuccessful authentication" do
|
context "with an unsuccessful authentication" do
|
||||||
should "return the user" do
|
should "return nil" do
|
||||||
assert_nil User.try_to_login('example1', '11111')
|
assert_nil User.try_to_login('example1', '11111')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -546,7 +546,7 @@ class UserTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
context "with an unsuccessful authentication" do
|
context "with an unsuccessful authentication" do
|
||||||
should "return the user" do
|
should "return nil" do
|
||||||
assert_nil User.try_to_login('example1', '11111')
|
assert_nil User.try_to_login('example1', '11111')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue