Commits

Dan Dirks committed 58a221a

Adds a (more) helpful error message to steps assertion.

Comments (0)

Files changed (1)

test/steps.test.coffee

       """/^I see an alert saying "?([^"]*)"?$/""": Acceptance::verifyAlert
 
     @steps.call(@mockCucumber)
-    assert.deepEqual(expected, @definedSteps)
+    assert.deepEqual(expected, @definedSteps, """Expected: #{util.inspect(expected, false, 1, true)} Got: #{util.inspect(@definedSteps, false, 1, true)}""")