fix spec that can fail when comparing timestamps. I only care that it isn't null.

This commit is contained in:
Neil Lalonde 2015-03-11 16:51:20 -04:00
parent 7c9fb5d3fc
commit 2585962552
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ describe PostOwnerChanger do
p2user.user_stat.first_post_created_at.should == nil
p1user.user_stat.topic_reply_count.should == 0
p2user.user_stat.topic_reply_count.should == 0
[p1.created_at, p2.created_at].should include(user_a.user_stat.first_post_created_at)
user_a.user_stat.first_post_created_at.should be_present
end
it "updates UserAction records" do