Sha256: e42aeb98982977b8eabeda6c7d92b591180072bbd66928cc14d632917fcd2bdb
Contents?: true
Size: 624 Bytes
Versions: 2
Compression:
Stored size: 624 Bytes
Contents
Then 'the ruby-version file should be up-to-date' do configured_ruby = File.read('.ruby-version').strip expect(configured_ruby).to eq Katapult::RUBY_VERSION end Then 'the configured Rails version should be listed in the Gemfile.lock' do rails_version = Katapult::RAILS_VERSION step %(the file "Gemfile.lock" should contain " rails (#{rails_version})") end Then 'Capistrano should be locked to the installed version' do cd '.' do gemfile = File.read('Gemfile.lock') version = gemfile[/^ capistrano \((.*)\)$/, 1] step %(the file "config/deploy.rb" should contain "lock '#{version}'") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
katapult-0.5.0 | features/step_definitions/version_steps.rb |
katapult-0.4.1 | features/step_definitions/version_steps.rb |