Skip to content

Commit

Permalink
fix date compare specs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanto committed Jul 18, 2019
1 parent 1570f4d commit 24da31a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/shared_example/votable_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@

it do
expect(votable_cache.cached_votes_total).to eq(1)
expect(votable_cache.updated_at).to_not eq updated_at
expect(votable_cache.updated_at.to_i).to_not eq updated_at.to_i
end
end

Expand All @@ -425,7 +425,7 @@

it do
expect(votable_cache.cached_votes_total).to eq(1)
expect(votable_cache.updated_at).to eq updated_at
expect(votable_cache.updated_at.to_i).to eq updated_at.to_i
end
end
end
Expand Down

0 comments on commit 24da31a

Please sign in to comment.