Sha256: 515442bfb4bbd82623345191c9c9fe309bfab72849ff6916d561a1c8c0df813c

Contents?: true

Size: 705 Bytes

Versions: 15

Compression:

Stored size: 705 Bytes

Contents

require 'fileutils'
include FileUtils

Given /^the directory "([^"]*)" does not exist$/ do |dir|
  dir = File.join(ARUBA_DIR,dir)
  rm_rf dir,:verbose => false, :secure => true
end

Given /^my app's name is "([^"]*)"$/ do |app_name|
  @app_name = app_name
end

Then /^the file "([^"]*)" should use the same block variable throughout$/ do |file|
  prep_for_fs_check do
    content = IO.read(file)
    from_bundler = content.match(/(\w+)\.authors/)[1]
    added_by_methadone = content.match(/(\w+).add_development_dependency\('rdoc'/)[1]
    from_bundler.should == added_by_methadone
  end
end

Then /^the stderr should match \/([^\/]*)\/$/ do |expected|
  assert_matching_output(expected, all_stderr)
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
methadone-1.2.6 features/step_definitions/bootstrap_steps.rb
methadone-1.2.5 features/step_definitions/bootstrap_steps.rb
methadone-1.2.4 features/step_definitions/bootstrap_steps.rb
methadone-1.2.3 features/step_definitions/bootstrap_steps.rb
methadone-1.2.2 features/step_definitions/bootstrap_steps.rb
methadone-1.2.1 features/step_definitions/bootstrap_steps.rb
methadone-1.2.0 features/step_definitions/bootstrap_steps.rb
methadone-1.1.0 features/step_definitions/bootstrap_steps.rb
methadone-1.0.0 features/step_definitions/bootstrap_steps.rb
methadone-1.0.0.rc6 features/step_definitions/bootstrap_steps.rb
methadone-1.0.0.rc5 features/step_definitions/bootstrap_steps.rb
methadone-1.0.0.rc4 features/step_definitions/bootstrap_steps.rb
methadone-1.0.0.rc3 features/step_definitions/bootstrap_steps.rb
methadone-1.0.0.rc2 features/step_definitions/bootstrap_steps.rb
methadone-1.0.0.rc1 features/step_definitions/bootstrap_steps.rb