mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-21 22:54:09 +01:00
move tests to new directory
This commit is contained in:
parent
65859807ea
commit
0bc9b0397a
42 changed files with 23 additions and 32 deletions
|
|
@ -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>"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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>"
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue