diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2013-05-02 18:37:20 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2013-05-02 18:37:20 +0000 |
commit | 84e455b58359ca247ee98ef109502c2ee343c69a (patch) | |
tree | 711027d3a44c806a604c9261b51919524d62ad05 /test/unit/token_test.rb | |
parent | e6ab36d205262a3fc02d4042b13bc9516d12bdbb (diff) | |
download | redmine-84e455b58359ca247ee98ef109502c2ee343c69a.tar.gz redmine-84e455b58359ca247ee98ef109502c2ee343c69a.zip |
Remove duplicate test TokenTest#test_find_token_should_return_nil_with_wrong_action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11768 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/token_test.rb')
-rw-r--r-- | test/unit/token_test.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/unit/token_test.rb b/test/unit/token_test.rb index 45399e0ee..2a008112b 100644 --- a/test/unit/token_test.rb +++ b/test/unit/token_test.rb @@ -96,11 +96,6 @@ class TokenTest < ActiveSupport::TestCase assert_nil Token.find_token('api', token.value) end - def test_find_token_should_return_nil_with_wrong_action - token = Token.create!(:user_id => 1, :action => 'feeds') - assert_nil Token.find_token('api', Token.generate_token_value) - end - def test_find_token_should_return_nil_without_user token = Token.create!(:user_id => 999, :action => 'api') assert_nil Token.find_token('api', token.value) |