From: Tom Hughes <tom@compton.nu>
Date: Wed, 15 Nov 2017 13:01:38 +0000 (+0000)
Subject: Make system tests run by default
X-Git-Tag: live~4548
X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/d581fbfaf12c21145985cbc98f41cd8ac4e0a88e

Make system tests run by default
---

diff --git a/.travis.yml b/.travis.yml
index 8c09cc439..48ddb4a1d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,4 +28,3 @@ script:
   - bundle exec rubocop -f fuubar
   - bundle exec rake jshint
   - bundle exec rake test:db
-  - bundle exec rake test:system
diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake
index 6335adf87..924698c7f 100644
--- a/lib/tasks/testing.rake
+++ b/lib/tasks/testing.rake
@@ -1,3 +1,7 @@
+task "test" do
+  Rails::TestUnit::Runner.rake_run(["test/system"])
+end
+
 namespace :test do
   task "lib" => "test:prepare" do
     $LOAD_PATH << "test"