mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-19 22:38:55 -04:00
stubbed Time.now to prevent test failures
This commit is contained in:
@@ -45,6 +45,7 @@ describe Post do
|
||||
|
||||
context "recent activity" do
|
||||
before(:each) do
|
||||
Time.stub(:now => Time.now)
|
||||
@post = FactoryGirl.create(:post)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user