Sha256: 59a1ca3307177f82af96ef5995fb15dffb0d8a503c1b388c0235724e5274a594

Contents?: true

Size: 554 Bytes

Versions: 6

Compression:

Stored size: 554 Bytes

Contents

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

Given /^I set the timezone to "(.*?)"$/ do |zone|
  set_env("TZ", zone.to_s)
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

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

6 entries across 6 versions & 1 rubygems

Version Path
middleman-tansu-0.1.4 features/step_definitions/helpers_steps.rb
middleman-tansu-0.1.3 features/step_definitions/helpers_steps.rb
middleman-tansu-0.1.2 features/step_definitions/helpers_steps.rb
middleman-tansu-0.1.1 features/step_definitions/helpers_steps.rb
middleman-tansu-0.1.0 features/step_definitions/helpers_steps.rb
middleman-tansu-0.0.4 features/step_definitions/helpers_steps.rb