Skip to content

Commit

Permalink
Fully clean up bundle environment in Aruba scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Dec 2, 2016
1 parent 77d961f commit eb92605
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cucumber-rails.gemspec
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
# Main development dependencies
s.add_development_dependency('ammeter', ['>= 1.0.0', '< 1.1.3'])
s.add_development_dependency('appraisal', '>= 0.5.1')
s.add_development_dependency('aruba', '~> 0.8.0')
s.add_development_dependency('aruba', '~> 0.14.2')
s.add_development_dependency('builder', ['>= 3.1.0', '< 4'])
s.add_development_dependency('bundler', '>= 1.3.5')
s.add_development_dependency('selenium-webdriver', '>= 2.45.0')
Expand Down
4 changes: 3 additions & 1 deletion features/step_definitions/cucumber_rails_steps.rb
Expand Up @@ -5,7 +5,9 @@ def rails_new(options = {})
assert_partial_output('README', all_output)
assert_success(true)
cd options[:name]
set_environment_variable 'BUNDLE_GEMFILE', 'Gemfile'
delete_environment_variable 'RUBYOPT'
delete_environment_variable 'BUNDLE_BIN_PATH'
delete_environment_variable 'BUNDLE_GEMFILE'
end

def install_cucumber_rails(*options)
Expand Down

0 comments on commit eb92605

Please sign in to comment.