Sha256: 540a85008ad35012df4df68f2bf74e396e00811e32c689e170d6929275d903bb

Contents?: true

Size: 444 Bytes

Versions: 33

Compression:

Stored size: 444 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

Version data entries

33 entries across 33 versions & 5 rubygems

Version Path
projectlocker_pulse-1.0.0 features/step_definitions/file_steps.rb
projectlocker_pulse-0.2.1 features/step_definitions/file_steps.rb
projectlocker_errata-0.1.1 features/step_definitions/file_steps.rb
projectlocker_errata-0.1.0 features/step_definitions/file_steps.rb
honeybadger-1.3.1 features/step_definitions/file_steps.rb
airbrake-3.1.6 features/step_definitions/file_steps.rb
airbrake-3.1.5 features/step_definitions/file_steps.rb
honeybadger-1.3.0 features/step_definitions/file_steps.rb
honeybadger-1.2.1 features/step_definitions/file_steps.rb
projectlocker_errata-0.0.2 features/step_definitions/file_steps.rb
projectlocker_errata-0.0.1 features/step_definitions/file_steps.rb
honeybadger-1.2.0 features/step_definitions/file_steps.rb
airbrake-3.1.4 features/step_definitions/file_steps.rb
airbrake-3.1.3 features/step_definitions/file_steps.rb
honeybadger-1.1.0 features/step_definitions/file_steps.rb
airbrake-3.1.2 features/step_definitions/file_steps.rb
honeybadger-1.0.0 features/step_definitions/file_steps.rb
cloudtrapper-0.0.3.pre features/step_definitions/file_steps.rb
cloudtrapper-0.0.2.pre features/step_definitions/file_steps.rb
airbrake-3.1.1 features/step_definitions/file_steps.rb