Sha256: a3b920ce3d35633cf0dcdfff0a4e44b043b0573a0e98d2800921e8ac16b01b98

Contents?: true

Size: 533 Bytes

Versions: 27

Compression:

Stored size: 533 Bytes

Contents

Then /^"([^\"]*)" should not contain text of "([^\"]*)"$/ do |target_file, contents_file|
  notifier_root      = File.join(File.dirname(__FILE__), '..', '..')
  full_path_contents = File.join(notifier_root, contents_file)
  contents_text      = File.open(full_path_contents).read

  full_path_target = File.join(rails_root, target_file)
  target_text      = File.open(full_path_target).read

  target_text.should_not include(contents_text)
end

Then /^I append "([^\"]*)" to Gemfile$/ do |contents|
  append_to_gemfile(contents)
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
airbrake-3.1.13 features/step_definitions/file_steps.rb
airbrake-3.1.12 features/step_definitions/file_steps.rb
airbrake-3.1.11 features/step_definitions/file_steps.rb
airbrake-3.1.10 features/step_definitions/file_steps.rb
airbrake-3.1.9 features/step_definitions/file_steps.rb
airbrake-3.1.8 features/step_definitions/file_steps.rb
airbrake-3.1.7 features/step_definitions/file_steps.rb