summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/testing.rake7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake
index 474a09092..cfb8e77f9 100644
--- a/lib/tasks/testing.rake
+++ b/lib/tasks/testing.rake
@@ -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