I find using the be_within default rspec matcher more elegant:
expect(@article.updated_at.utc).to be_within(1.second).of Time.now
I find using the be_within default rspec matcher more elegant:
expect(@article.updated_at.utc).to be_within(1.second).of Time.now