jimweirich/rspec-given — pull request #17 by ronen (2013-02-25 16:14:08+00:00)
Title: Add optional description string to Then clause

Hi, here's a small patch to allow explicitly specifying a description for a Then clause. Potentially useful for cases where the source code itself isn't particularly clear or compact for a report.

e.g.

Then("Widget form has a highlighted Undo button") {
page.should have_selector("#Widget form button.active", :text => "Undo")
}