Created
September 15, 2011 16:16
-
-
Save padi/1219689 to your computer and use it in GitHub Desktop.
Refactoring from a commit in a branch in TD: https://github.com/devpips/trafficdito/commit/51d50f5c3d99c05aef222c0f790b669bd8f57c0c#commitcomment-591046
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
Then /^there should be a report "([^"]*)" with the condition "([^"]*)" from (?:"([^"]*)"|anonymous)$/ do |text, condition, username| | |
Report.last.text.should == text | |
Report.last.conditions.should == [condition] | |
Report.last.username.should == username | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment