1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00

Write a test that doesn't suck

This commit is contained in:
Joshua Clayton 2012-05-05 00:08:39 -04:00
parent 0e4df8088d
commit d475033a81

View file

@ -35,7 +35,7 @@ describe "using ActiveSupport::Instrumentation to track factory interaction" do
FactoryGirl.build(:slow_user)
end
time_to_execute.should be_within(0.03).of(0.1)
time_to_execute.should >= 0.1
end
it "builds the correct payload" do