Permalink
Browse files

Get tests passing again

  • Loading branch information...
1 parent 3b51d13 commit 8eb106c48e641ee8b0369fcef5a0556c782c65aa @stewart stewart committed Dec 5, 2012
Showing with 6 additions and 10 deletions.
  1. +6 −10 test/lib/gitnesse/strip_results_test.rb
@@ -16,20 +16,18 @@
When I divide
Then the result should be 3
```
+`Last result was UNDEFINED: Divide two numbers`
-UNDEFINED: Divide two numbers
+`Last result was PENDING: Divide two numbers`
-PENDING: Divide two numbers
+`Last result was FAILED: Divide two numbers`
-FAILED: Divide two numbers
-
-PASSED: Divide two numbers
+`Last result was PASSED: Divide two numbers`
EOS
end
let(:expected_result) do
- <<-EOS
-```gherkin
+ "```gherkin
Feature: Division
In order to avoid silly mistakes
As a math idiot
@@ -40,9 +38,7 @@
And I have entered 2 into the calculator
When I divide
Then the result should be 3
-```
-
-EOS
+```"
end
before do

0 comments on commit 8eb106c

Please sign in to comment.