mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Fix acceptance tests where we should be using Bundler
This commit is contained in:
parent
c49241601f
commit
8223420ba2
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue