get rake autospec working in rails 4

This commit is contained in:
Sam
2013-07-23 17:58:26 +10:00
parent f2a3719140
commit 38b8e9b1b4
4 changed files with 30 additions and 16 deletions

View File

@ -335,7 +335,6 @@ describe Topic do
@topic = Fabricate(:topic, bumped_at: 1.year.ago)
end
it 'updates the bumped_at field when a new post is made' do
@topic.bumped_at.should be_present
lambda {