##// END OF EJS Templates
Remove duplicate test TokenTest#test_find_token_should_return_nil_with_wrong_action....
Jean-Baptiste Barth -
r11538:84e455b58359
parent child
Show More
@@ -96,11 +96,6 class TokenTest < ActiveSupport::TestCase
96 96 assert_nil Token.find_token('api', token.value)
97 97 end
98 98
99 def test_find_token_should_return_nil_with_wrong_action
100 token = Token.create!(:user_id => 1, :action => 'feeds')
101 assert_nil Token.find_token('api', Token.generate_token_value)
102 end
103
104 99 def test_find_token_should_return_nil_without_user
105 100 token = Token.create!(:user_id => 999, :action => 'api')
106 101 assert_nil Token.find_token('api', token.value)
General Comments 0
You need to be logged in to leave comments. Login now