forked from cucumber/cucumber-ruby
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more work on html, some cleanup and added a simple workaround for old…
… skool steps_for
- Loading branch information
1 parent
2dd7b18
commit 17f44a5
Showing
9 changed files
with
301 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Story: Division | ||
As a math genius | ||
I want to be told the division of two floats | ||
So that I don't make silly mistakes | ||
|
||
Scenario: 7/2 | ||
Given I have entered 3 | ||
And I have entered 2 | ||
When I divide | ||
Then the result should be 2.5 | ||
And the result class should be Float | ||
|
||
Scenario: 3/0 | ||
Given I have entered 3 | ||
And I have entered 2 | ||
When I divide | ||
Then the result should be NaN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Story: Sell cucumbers | ||
As a cucumber farmer | ||
I want to sell cucumbers | ||
So that I buy meat | ||
|
||
Scenario: Sell a dozen | ||
Given there are 5 cucumbers | ||
When I sell 12 cucumbers | ||
Then I should owe 7 cucumbers | ||
Story: Sell cucumbers | ||
As a cucumber farmer | ||
I want to sell cucumbers | ||
So that I buy meat | ||
|
||
Scenario: Sell a dozen | ||
Given there are 5 cucumbers | ||
When I sell 12 cucumbers | ||
Then I should owe 7 cucumbers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.