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