Sha256: a20f58d103b274ead9eb9cf9a8db78fe0a7b866ed1301e93641f442e08223184
Contents?: true
Size: 535 Bytes
Versions: 2
Compression:
Stored size: 535 Bytes
Contents
When /I run rake with (.+)/ do |command| @rake_command = "rake #{command.gsub(' ','_')}" @rake_result = `cd features/support/rake && GEM_HOME=#{BUILT_GEM_ROOT} #{@rake_command} 2>&1` end Then /Pulse should (|not) ?catch the exception/ do |condition| if condition=='not' @rake_result.should_not =~ /^pulse/ else @rake_result.should =~ /^pulse/ end end Then /Pulse should send the rake command line as the component name/ do component = @rake_result.match(/^pulse (.*)$/)[1] component.should == @rake_command end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
projectlocker_pulse-1.0.0 | features/step_definitions/rake_steps.rb |
projectlocker_pulse-0.2.1 | features/step_definitions/rake_steps.rb |