Sha256: 481af79d698d065cdc51c882de6558a852ebfbfa3e14b80321f56b2bb036c128
Contents?: true
Size: 236 Bytes
Versions: 2
Compression:
Stored size: 236 Bytes
Contents
Given(/^I (?:add|ask|create|have|request) .+? "(.+?)"$/) do |code| @result = eval "@#{code}" end Then(/^I receive/) do |table| table.diff! @result end Then(/^it responds with (.+?)$/) do |code| @result = eval "@#{code}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mortadella-0.1.0 | features/step_definitions/steps.rb |
mortadella-0.0.2 | features/step_definitions/steps.rb |