I would be interested to hear any thoughts from the community about
the ability to request specific examples from a shared example group
as expressed in the rspec-requestable-examples gem.
Here's the post that introduces them:
http://mutuallyhuman.com/blog/2012/01/27/rspec-requestable-examples
Gi
Sorry, the mistake came from the factory itself.
Indeed, the Factory call I really make is slightly different and for a
still unknown reason (asked on factory girl google's group), the build
method actually created the object...
On Jan 27, 5:14 pm, apneadiving wrote:
> Hi,
>
> I see a really wei
Hi,
I see a really weird behavior there, the following test passes:
it "test", :focus do
doc = Factory.build(:document)
doc.should_receive(:update_project!).exactly(2).times
doc.save
end
But when I do:
def update_project!
binding.pry
#some stuff
end
I enter the method 3 time