Sha256: 52161ad79f5444aaecf8b6b1366dc4417b4315a5ff15e67ba847b88439605021
Contents?: true
Size: 697 Bytes
Versions: 11
Compression:
Stored size: 697 Bytes
Contents
When /^I run reek (.*)$/ do |args| run args end When /^I pass "([^\"]*)" to reek *(.*)$/ do |stdin, args| run_with_pipe(stdin, args) end When /^I run rake reek$/ do rake end Then /^stdout equals "([^\"]*)"$/ do |report| @last_stdout.should == report end Then /^it succeeds$/ do @last_exit_status.should == 0 end Then /^it fails with exit status (\d+)$/ do |status| @last_exit_status.should == status.to_i end Then /^it reports:$/ do |report| @last_stdout.should == report end Then /^it reports the error ['"](.*)['"]$/ do |string| @last_stderr.chomp.should == string end Then /^it reports the current version$/ do @last_stdout.chomp.should == "reek #{Reek::VERSION}" end
Version data entries
11 entries across 11 versions & 2 rubygems