Make system tests run by default
authorTom Hughes <tom@compton.nu>
Wed, 15 Nov 2017 13:01:38 +0000 (13:01 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 15 Nov 2017 19:14:31 +0000 (19:14 +0000)
.travis.yml
lib/tasks/testing.rake

index 8c09cc4..48ddb4a 100644 (file)
@@ -28,4 +28,3 @@ script:
   - bundle exec rubocop -f fuubar
   - bundle exec rake jshint
   - bundle exec rake test:db
-  - bundle exec rake test:system
index 6335adf..924698c 100644 (file)
@@ -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"