Sha256: 3de59d7dad609b14c26581f7aed824483dba90ed450ed339f883295f555266eb
Contents?: true
Size: 327 Bytes
Versions: 7
Compression:
Stored size: 327 Bytes
Contents
Given /^I have a file "(.*?)" containing:$/ do |path, content| open(path, 'w') do |file| file.puts "$:.unshift '#{LIB}'" file.print content end end When /^I run "(.*?)"$/ do |command| @output = `bundle exec #{command} 2>&1` end Then /^I should see "(.*?)"$/ do |expected| @output.should include(expected) end
Version data entries
7 entries across 7 versions & 1 rubygems