Browse files

script/test replaces bin/rake

/cc #102
  • Loading branch information...
1 parent 150542a commit 7be7c7f7a75ccf08c4c83df2bb2a2559128a146b @sr sr committed Sep 4, 2012
Showing with 5 additions and 5 deletions.
  1. +2 −4 Rakefile
  2. +1 −1 script/cibuild
  3. +2 −0 script/test
View
6 Rakefile
@@ -18,9 +18,7 @@ task "db:seed" do
end
end
-require "rake/testtask"
-Rake::TestTask.new(:test) do |t|
- t.test_files = FileList["test/*_test.rb"]
- t.ruby_opts << '-Itest -Ilib'
+task :test do
+ abort "Use script/test to run the test suite."
end
task :default => :test
View
2 script/cibuild
@@ -15,4 +15,4 @@ ruby -v
env
bundle install --binstubs --path vendor/gems
bin/rake db:migrate --trace
-bundle exec ruby -Ilib -Itest test/janky_test.rb
+script/test
View
2 script/test
@@ -0,0 +1,2 @@
+#!/bin/sh
+testrb test/*_test.rb

0 comments on commit 7be7c7f

Please sign in to comment.