Sha256: c545c57782ef94b2942dab54fa2b2bca454e6caca41f7bb9ec3604bcb1a1d40e
Contents?: true
Size: 245 Bytes
Versions: 2
Compression:
Stored size: 245 Bytes
Contents
Given /^the integer "(\d+)"$/ do |num| @target = num.to_i end When /^I format using the example "(.*?)"$/ do |example| @result = @target.format_like(example) end Then /^I produce "(.*?)"$/ do |expected| assert_equal expected, @result end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
numerology-0.0.3 | features/step_definitions/numerology_steps.rb |
numerology-0.0.2 | features/step_definitions/numerology_steps.rb |