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