Curtis, hey man, I saw your post in the rspec list archives
(http://rubyforge.org/pipermail/rspec-users/2013-August/021811.html). I use
context with pattern A:
describe UsersController do
describe "POST create" do
it "creates a user" do
...
end
context "with bad data" do
it "gives an error message"
end
end
end
The main describe "POST create" and its examples describe the primary behavior
of the interaction. I use contexts to describe how behavior changes as the
interaction changes.
Pat
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users