Skip to content

Commit

Permalink
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
Browse files Browse the repository at this point in the history
puppetdb, etc

- support for BEAKER_VERSION and BEAKER_RSPEC_VERSION in gemfile
  • Loading branch information
Alice Nodelman committed Mar 24, 2015
1 parent c4a14b4 commit 6cfd1e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ group :development, :unit_tests do
gem 'json', :require => false
end

beaker_version = ENV['BEAKER_VERSION']
beaker_rspec_version = ENV['BEAKER_RSPEC_VERSION']
group :system_tests do
if beaker_version
gem 'beaker', *location_for(beaker_version)
end
if beaker_rspec_version
gem 'beaker-rspec', *location_for(beaker_rspec_version)
else
else
gem 'beaker-rspec', :require => false
end
gem 'serverspec', :require => false
Expand Down

0 comments on commit 6cfd1e5

Please sign in to comment.