Skip to content

Commit

Permalink
Heroku didn't like that rspec wasn't around in production env.
Browse files Browse the repository at this point in the history
  • Loading branch information
shageman committed Sep 18, 2012
1 parent 8fcbb7c commit 0fa550c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 0 additions & 8 deletions 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
3 changes: 2 additions & 1 deletion build.sh
Expand Up @@ -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=$?


Expand Down

0 comments on commit 0fa550c

Please sign in to comment.