Sha256: 508cb06402c1a785c09ce96ce534382e9ff5e69435f1c4727cfc6839af7f0770

Contents?: true

Size: 221 Bytes

Versions: 19

Compression:

Stored size: 221 Bytes

Contents

require 'timecop'

Given /it is the year "(.*)"/ do |year|
  @current_date = Time.local(year.to_i, 6, 1, 0, 0, 0)
end

Given /^the current date is "(.+)"$/ do |current_date|
  @current_date = Time.parse(current_date)
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
sniff-1.1.1 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-1.1.0 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-1.0.1 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-1.0.0 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.12 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.11 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.10 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.9 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.8 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.7 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.6 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.5 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.4 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.3 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.2 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.1 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.11.0 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.10.1 lib/test_support/cucumber/step_definitions/temporal_steps.rb
sniff-0.10.0 lib/test_support/cucumber/step_definitions/temporal_steps.rb