diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-16 10:54:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-16 10:54:33 +0000 |
commit | eae9c9ab2be43c64c830a03e414b51a08571c957 (patch) | |
tree | cbe6b20000d60ad854ad8f2e245cbdfeca4b4787 /lib/tasks | |
parent | cd6b2f2268d3e02ae652d3ad37f02170e3647a72 (diff) | |
download | redmine-eae9c9ab2be43c64c830a03e414b51a08571c957.tar.gz redmine-eae9c9ab2be43c64c830a03e414b51a08571c957.zip |
Isolates all API routing tests to a specific test case.
git-svn-id: http://svn.redmine.org/redmine/trunk@13604 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/deprecated.rake | 1 | ||||
-rw-r--r-- | lib/tasks/testing.rake | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/tasks/deprecated.rake b/lib/tasks/deprecated.rake index 2e6cb3b77..c62579d0a 100644 --- a/lib/tasks/deprecated.rake +++ b/lib/tasks/deprecated.rake @@ -10,3 +10,4 @@ deprecated_task :migrate_from_trac, "redmine:migrate_from_trac" deprecated_task "db:migrate_plugins", "redmine:plugins:migrate" deprecated_task "db:migrate:plugin", "redmine:plugins:migrate" deprecated_task :generate_session_store, :generate_secret_token +deprecated_task "test:rdm_routing", "test:routing" diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index 9eb7ff76a..1e3d1a5f3 100644 --- a/lib/tasks/testing.rake +++ b/lib/tasks/testing.rake @@ -98,10 +98,10 @@ namespace :test do Rake::Task['test:scm:functionals'].comment = "Run the scm functional tests" end - Rake::TestTask.new(:rdm_routing) do |t| + Rake::TestTask.new(:routing) do |t| t.libs << "test" t.verbose = true - t.test_files = FileList['test/integration/routing/*_test.rb'] + t.test_files = FileList['test/integration/routing/*_test.rb'] + FileList['test/integration/api_test/*_routing_test.rb'] end Rake::Task['test:rdm_routing'].comment = "Run the routing tests" |