Skip to content

Commit

Permalink
script/test replaces bin/rake
Browse files Browse the repository at this point in the history
  • Loading branch information
sr committed Sep 4, 2012
1 parent 150542a commit 7be7c7f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions script/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
testrb test/*_test.rb

0 comments on commit 7be7c7f

Please sign in to comment.