[rspec-users] method calls count weirdness...
apnea.diving.deep at gmail.com
Fri Jan 27 12:29:39 EST 2012
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 <apnea.diving.d... at gmail.com> wrote:
> I see a really weird behavior there, the following test passes:
> it "test", :focus do
> doc = Factory.build(:document)
> But when I do:
> def update_project!
> #some stuff
> I enter the method 3 times through pry...
> 3 vs 2, who is right?
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users