Sha256: e0615d898fe3db1dce40cf2d1af0d27b01654559fbe7e117e7329a13a7de5739
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
Then /^(?:the )?(?:feature "([^"]*)" )?(?:test(?: "([^"]*)")? )?(?:step(?: "([^"]*)") )?table has the following contents:$/ do |file, test, step, contents| file ||= 1 test ||= 1 step ||= 1 expected = contents.raw actual = @parsed_files[file - 1].feature.tests[test - 1].steps[step - 1].block.contents assert(actual == expected, "Expected: #{expected}\n but was: #{actual}") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cucumber_analytics-1.1.1 | features/step_definitions/table_steps.rb |
cucumber_analytics-1.0.0 | features/step_definitions/table_steps.rb |