Fix acceptance tests where we should be using Bundler

This commit is contained in:
Elliot Winkler 2014-12-24 23:43:33 -05:00
parent c49241601f
commit 8223420ba2
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ describe 'shoulda-matchers integrates with an ActiveModel project' do
puts "Loaded all dependencies without errors"
FILE
result = run_command('bundle exec ruby load_dependencies.rb')
result = run_command_within_bundle('ruby load_dependencies.rb')
expect(result).to have_output('Loaded all dependencies without errors')
end
end

View File

@ -67,7 +67,7 @@ module AcceptanceTests
end
def run_n_unit_tests(*paths)
run_command 'ruby -I lib -I test', *paths
run_command_within_bundle 'ruby -I lib -I test', *paths
end
def run_n_unit_test_suite