Skip to content

Instantly share code, notes, and snippets.

@scudco
Created November 18, 2008 23:18
Show Gist options
  • Save scudco/26327 to your computer and use it in GitHub Desktop.
Save scudco/26327 to your computer and use it in GitHub Desktop.
describe "Foo" do
it "should pass" do
true.should be_true
end
it "should also pass" do
true.should be_false
end
end
# $ spec foo.rb --format failing_examples:foo_failures.txt
# $ spec foo.rb -e foo_failures.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment