Sha256: e1ed0a06230bb4b0198355313cb7698325a2564e660ff0bbb1dabe7f29a682e7

Contents?: true

Size: 677 Bytes

Versions: 5

Compression:

Stored size: 677 Bytes

Contents

load 'aruba/cucumber.rb' unless defined? ::Aruba

World(::Cuken::Api::Cmd)

#
# These ought be submitted to Aruba...
#
Then /^the output from "(.*)" contains exactly:$/ do |cmd, exact_output|
  output_from(unescape(cmd)).should == exact_output
end
Then /^the output from "([^"]*)" does not contain exactly:$/ do |cmd, exact_output|
  output_from(unescape(cmd)).should_not == exact_output
end
Then /^the output from "([^"]*)" contains:$/ do |cmd, partial_output|
  output_from(unescape(cmd)).should =~ regexp(partial_output)
end
Then /^the output from "([^"]*)" does not contain:$/ do |cmd, partial_output|
  output_from(unescape(cmd)).should_not =~ regexp(partial_output)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cuken-0.1.11 lib/cuken/cucumber/cmd.rb
cuken-0.1.10 lib/cuken/cucumber/cmd.rb
cuken-0.1.9 lib/cuken/cucumber/cmd.rb
cuken-0.1.8 lib/cuken/cucumber/cmd.rb
cuken-0.1.7 lib/cuken/cucumber/cmd.rb