Sha256: e48c846aff88dce1087baf3ed39221715d60e13039cb1a17cb2c9a9aabca4ca5

Contents?: true

Size: 472 Bytes

Versions: 3

Compression:

Stored size: 472 Bytes

Contents

require 'aruba/api'
require 'aruba/cucumber/hooks'
require 'aruba/reporting'

Then /^the helper result "(.*?)" should (not )?contain '(.*?)'$/ do |file, expect_match, partial_content|
  check_file_content(file, Regexp.compile(Regexp.escape(partial_content)), !expect_match)
end

Then /^the helper result "(.*?)" should (not )?contain:$/ do |file, expect_match, partial_content|
  check_file_content(file, Regexp.compile(Regexp.escape(partial_content)), !expect_match)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
middleman-tansu-0.0.3 features/step_definitions/helpers_steps.rb
middleman-tansu-0.0.2 features/step_definitions/helpers_steps.rb
middleman-tansu-0.0.1 features/step_definitions/helpers_steps.rb