Sha256: f4511ffedece4c670f92d84e18bbf88b2c9e1cfcf5f11ee4ab6b024eb6d775fb

Contents?: true

Size: 1.16 KB

Versions: 103

Compression:

Stored size: 1.16 KB

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
#

Then(/^I store in "(.*?)" value "(.*?)"$/) do |name, value|
  @name = value
end

Then(/^I check stored value of "(.*?)" should contain "(.*?)"$/) do |name, value|
  expect(@name).to eq(value)
end

Then(/^I create file with random name and content and store its name in "(.*?)"$/) do |name|
# random_file_name = ('a'..'z').to_a.shuffle[0,8].join
#   self.instance_variable_set(:@name, random_file_name)
#   self.instance_variable_set(:@name, random_file_name)
#   @random_file_content = ('a'..'z').to_a.shuffle[0,8].join
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

103 entries across 103 versions & 1 rubygems

Version Path
docman-0.0.107 features/support/step_definitions/dm_steps.rb
docman-0.0.106 features/support/step_definitions/dm_steps.rb
docman-0.0.105 features/support/step_definitions/dm_steps.rb
docman-0.0.104 features/support/step_definitions/dm_steps.rb
docman-0.0.103 features/support/step_definitions/dm_steps.rb
docman-0.0.102 features/support/step_definitions/dm_steps.rb
docman-0.0.101 features/support/step_definitions/dm_steps.rb
docman-0.0.100 features/support/step_definitions/dm_steps.rb
docman-0.0.99 features/support/step_definitions/dm_steps.rb
docman-0.0.98 features/support/step_definitions/dm_steps.rb
docman-0.0.97 features/support/step_definitions/dm_steps.rb
docman-0.0.96 features/support/step_definitions/dm_steps.rb
docman-0.0.95 features/support/step_definitions/dm_steps.rb
docman-0.0.94 features/support/step_definitions/dm_steps.rb
docman-0.0.93 features/support/step_definitions/dm_steps.rb
docman-0.0.92 features/support/step_definitions/dm_steps.rb
docman-0.0.91 features/support/step_definitions/dm_steps.rb
docman-0.0.90 features/support/step_definitions/dm_steps.rb
docman-0.0.89 features/support/step_definitions/dm_steps.rb
docman-0.0.88 features/support/step_definitions/dm_steps.rb