Adds first Capybara tests (#12822).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11270 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-01-26 14:36:02 +00:00
parent 08826ed0b6
commit 9c1077841e
5 changed files with 149 additions and 1 deletions
+7
View File
@@ -100,4 +100,11 @@ namespace :test do
t.test_files = FileList['test/integration/routing/*_test.rb']
end
Rake::Task['test:rdm_routing'].comment = "Run the routing tests"
Rake::TestTask.new(:ui => "db:test:prepare") do |t|
t.libs << "test"
t.verbose = true
t.test_files = FileList['test/ui/**/*_test.rb']
end
Rake::Task['test:ui'].comment = "Run the UI tests with Capybara (PhantomJS listening on port 4444 is required)"
end