]> git.openstreetmap.org Git - rails.git/commitdiff
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 8c09cc439edbafae4101d57741cdd29f031f351b..48ddb4a1d09d4e3f1ca0b508c123ee39b0a96b31 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 6335adf876da70ca13d8bdc6327c6a6e001337ff..924698c7fb115584a78dc11e2bd2dff87ba45f23 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"