Browse files

Heroku didn't like that rspec wasn't around in production env.

  • Loading branch information...
1 parent 8fcbb7c commit 0fa550cc8f40ca417000cbea7d6c878555921bdf @shageman committed Sep 18, 2012
Showing with 2 additions and 9 deletions.
  1. +0 −8 Rakefile
  2. +2 −1 build.sh
View
8 Rakefile
@@ -1,11 +1,3 @@
#!/usr/bin/env rake
require File.expand_path('../config/application', __FILE__)
TheNextBigThing::Application.load_tasks
-
-require "rspec/core/rake_task"
-
-RSpec::Core::RakeTask.new(:rspec) do |spec|
- spec.pattern = 'spec/**/*_spec.rb'
-end
-
-task :default => :rspec
View
3 build.sh
@@ -2,7 +2,8 @@
echo "*** Running container app specs"
source ~/.rvm/scripts/rvm
bundle install > /dev/null
-bundle exec rake db:migrate db:test:prepare rspec
+bundle exec rake db:migrate db:test:prepare
+rspec spec
result=$?

0 comments on commit 0fa550c

Please sign in to comment.