features/docs/defining_steps/table_diffing.feature in cucumber-2.0.0.beta.2 vs features/docs/defining_steps/table_diffing.feature in cucumber-2.0.0.beta.3
- old
+ new
@@ -20,26 +20,31 @@
| x | y |
| a | c |
}))
end
"""
- When I run `cucumber -i features/tables.feature`
- Then it should fail with:
+ When I run `cucumber features/tables.feature`
+ Then it should fail with exactly:
"""
Feature: Tables
Scenario: Extra row # features/tables.feature:2
Then the table should be: # features/step_definitions/steps.rb:1
| x | y |
| a | b |
- | a | c |
- Tables were not identical (Cucumber::MultilineArgument::DataTable::Different)
+ Tables were not identical:
+
+ | x | y |
+ | (-) a | (-) b |
+ | (+) a | (+) c |
+ (Cucumber::MultilineArgument::DataTable::Different)
./features/step_definitions/steps.rb:2:in `/the table should be:/'
features/tables.feature:3:in `Then the table should be:'
Failing Scenarios:
cucumber features/tables.feature:2 # Scenario: Extra row
1 scenario (1 failed)
1 step (1 failed)
+ 0m0.012s
"""