Skip to content

Commit

Permalink
tiny fixes to assimilator
Browse files Browse the repository at this point in the history
  • Loading branch information
branch14 committed Jun 24, 2014
1 parent bd1deb3 commit 8b622a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/assimilator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def run
Dir.chdir('repo')
else
Dir.chdir('repo')
execute "rm -f db/schema.rb"
execute "git checkout master; git pull"
end
# git checkout <sha>
Expand All @@ -92,7 +93,7 @@ def run
# rspec spec
status('pending', "running specs...")
# TODO make configurable
execute "bundle exec rspec spec --fail-fast", false
execute "RAILS_ENV=test bundle exec rspec spec --fail-fast", false
# report
status($?.exitstatus > 0 ? 'failure' : 'success')
end
Expand Down

0 comments on commit 8b622a6

Please sign in to comment.