features/pickle/create_from_machinist.feature in pickle-0.4.6 vs features/pickle/create_from_machinist.feature in pickle-0.4.7
- old
+ new
@@ -34,6 +34,13 @@
And the 2nd spoon should not be round
And the last spoon should not be round
And 2 spoons should exist with round: true
And the first spoon should be round
- And the last spoon should be round
+ And the last spoon should be round
+
+ Scenario: ModelNotKnownError should be informative when failing to find
+ Given a spoon exists with round: true
+ Then the following should raise a Pickle::Session::ModelNotFoundError with "Can't find a spoon with round: false from the orm in this scenario":
+ """
+ Then a spoon should exist with round: false
+ """
\ No newline at end of file