move tests to new directory

This commit is contained in:
Reinier Balt 2013-05-11 23:13:16 +02:00
parent 65859807ea
commit 0bc9b0397a
42 changed files with 23 additions and 32 deletions

View file

@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
class ContextXmlApiTest < ActionController::IntegrationTest
class ContextXmlApiTest < ActionDispatch::IntegrationTest
@@context_name = "@newcontext"
@@valid_postdata = "<context><name>#{@@context_name}</name></context>"

View file

@ -1,6 +1,8 @@
require File.expand_path( File.dirname(__FILE__) + '/../test_helper')
class FeedSmokeTest < ActionController::IntegrationTest
class FeedSmokeTest < ActionDispatch::IntegrationTest
fixtures :users, :projects
def test_last_15_actions_rss
assert_success "/todos.rss?token=#{ users(:admin_user).token }&limit=15"

View file

@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
class ProjectXmlApiTest < ActionController::IntegrationTest
class ProjectXmlApiTest < ActionDispatch::IntegrationTest
@@project_name = "My New Project"
@@valid_postdata = "<project><name>#{@@project_name}</name></project>"

View file

@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
class RecurringTodosTest < ActionController::IntegrationTest
class RecurringTodosTest < ActionDispatch::IntegrationTest
def logs_in_as(user,plain_pass)
@user = user

View file

@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
class StoriesTest < ActionController::IntegrationTest
class StoriesTest < ActionDispatch::IntegrationTest
# ####################################################
# Testing login and signup by different kinds of users