summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-05-03 09:01:18 -0300
committerAzul <azul@riseup.net>2016-05-03 09:01:18 -0300
commita7718c19ab96648e37063c05bffe21bc2c315325 (patch)
tree23a0bf0516d7586130b155e51daa5f328b10d878
parentc9f24739664e9d4f7bcdafa87c7d53a5f339cbae (diff)
fix type mismatch TokenAuthTest
rails 4 mixes model, controller and integration tests. So lets give this one a better name
-rw-r--r--test/functional/configs_controller_with_static_tokens_test.rb (renamed from test/functional/token_auth_test.rb)4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/token_auth_test.rb b/test/functional/configs_controller_with_static_tokens_test.rb
index 53d5fb3..79739fe 100644
--- a/test/functional/token_auth_test.rb
+++ b/test/functional/configs_controller_with_static_tokens_test.rb
@@ -3,9 +3,9 @@
# via static configured tokens.
#
-require_relative '../test_helper'
+require 'test_helper'
-class TokenAuthTest < ActionController::TestCase
+class ConfigsControllerWithStaticTokensTest < ActionController::TestCase
tests V1::ConfigsController
def test_login_via_api_token