IntegrationTest is now in ActionDispatch not ActionController

This commit is contained in:
Tom Hughes 2013-07-08 22:57:53 +01:00
parent bd8d207ea4
commit d8399d3e18
10 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../test_helper'
class ClientApplicationTest < ActionController::IntegrationTest
class ClientApplicationTest < ActionDispatch::IntegrationTest
fixtures :users, :client_applications
##

View file

@ -1,6 +1,6 @@
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)

View file

@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../test_helper'
class OAuthTest < ActionController::IntegrationTest
class OAuthTest < ActionDispatch::IntegrationTest
fixtures :users, :client_applications, :gpx_files
include OAuth::Helper

View file

@ -1,6 +1,6 @@
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.

View file

@ -1,6 +1,6 @@
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)

View file

@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../test_helper'
class UserCreationTest < ActionController::IntegrationTest
class UserCreationTest < ActionDispatch::IntegrationTest
fixtures :users
def setup

View file

@ -1,6 +1,6 @@
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

View file

@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../test_helper'
class UserLoginTest < ActionController::IntegrationTest
class UserLoginTest < ActionDispatch::IntegrationTest
fixtures :users
def setup

View file

@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../test_helper'
class UserRolesTest < ActionController::IntegrationTest
class UserRolesTest < ActionDispatch::IntegrationTest
fixtures :users, :user_roles
test "grant" do

View file

@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../test_helper'
class UserTermsSeenTest < ActionController::IntegrationTest
class UserTermsSeenTest < ActionDispatch::IntegrationTest
fixtures :users
def auth_header(user, pass)