Sha256: 5ad9d70a3855c7710ac2348253e13a4f3c5085ee3c9254f773cb084f3aac9d4a

Contents?: true

Size: 664 Bytes

Versions: 2

Compression:

Stored size: 664 Bytes

Contents

# Given(/^I have deployed "(.*?)" state to "(.*?)" from scratch$/) do |state, target|
#   in_current_dir do
#     clean_current_dir
#     run "build.rb #{target} #{state}"
#   end
# end
#
When(/^I store bump version from file "(.*?)"$/) do |file|
  ENV['DM_BUMPED_VERSION'] = IO.read(file)
end

When(/^I change repo state to last bumped tag for "(.*?)" version$/) do |state|
  version = ENV["DM_BUMPED_VERSION"]
  run "state.sh tag #{version} #{state}"
end

Then(/^the file "(.*?)" should contain last bumped tag$/) do |file|
  version = ENV["DM_BUMPED_VERSION"]
  puts "Last bumped tag: #{version}"
  prep_for_fs_check { expect(IO.read(file)).to eq version }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docman-0.0.4 features/support/step_definitions/dm_steps.rb
docman-0.0.3 features/support/step_definitions/dm_steps.rb