require File.dirname(__FILE__) + '/../test_helper'
-class ClientApplicationTest < ActionController::IntegrationTest
+class ClientApplicationTest < ActionDispatch::IntegrationTest
fixtures :users, :client_applications
##
require File.dirname(__FILE__) + '/../test_helper'
-class CORSTest < ActionController::IntegrationTest
+class CORSTest < ActionDispatch::IntegrationTest
# Rails 4 adds a built-in `options` method. When we upgrade, we can remove
# this definition.
unless instance_methods.include?(:options)
require File.dirname(__FILE__) + '/../test_helper'
-class OAuthTest < ActionController::IntegrationTest
+class OAuthTest < ActionDispatch::IntegrationTest
fixtures :users, :client_applications, :gpx_files
include OAuth::Helper
require File.dirname(__FILE__) + '/../test_helper'
-class ShortLinksTest < ActionController::IntegrationTest
+class ShortLinksTest < ActionDispatch::IntegrationTest
##
# test the short link with various parameters and ensure they're
# kept in the redirect.
require File.dirname(__FILE__) + '/../test_helper'
-class UserBlocksTest < ActionController::IntegrationTest
+class UserBlocksTest < ActionDispatch::IntegrationTest
fixtures :users, :user_blocks, :user_roles
def auth_header(user, pass)
require File.dirname(__FILE__) + '/../test_helper'
-class UserCreationTest < ActionController::IntegrationTest
+class UserCreationTest < ActionDispatch::IntegrationTest
fixtures :users
def setup
require File.dirname(__FILE__) + '/../test_helper'
-class UserDiariesTest < ActionController::IntegrationTest
+class UserDiariesTest < ActionDispatch::IntegrationTest
fixtures :users, :diary_entries
# Test the creation of a diary entry, making sure that you are redirected to
require File.dirname(__FILE__) + '/../test_helper'
-class UserLoginTest < ActionController::IntegrationTest
+class UserLoginTest < ActionDispatch::IntegrationTest
fixtures :users
def setup
require File.dirname(__FILE__) + '/../test_helper'
-class UserRolesTest < ActionController::IntegrationTest
+class UserRolesTest < ActionDispatch::IntegrationTest
fixtures :users, :user_roles
test "grant" do
require File.dirname(__FILE__) + '/../test_helper'
-class UserTermsSeenTest < ActionController::IntegrationTest
+class UserTermsSeenTest < ActionDispatch::IntegrationTest
fixtures :users
def auth_header(user, pass)