We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfd6cee commit cf2f47bCopy full SHA for cf2f47b
spec/models/file_download_stat_spec.rb
@@ -10,7 +10,7 @@
10
expect(file_stat).to respond_to(:date)
11
expect(file_stat).to respond_to(:file_id)
12
expect(file_stat.file_id).to eq("99")
13
- expect(file_stat.date).to eq(date)
+ expect(file_stat.date.round(0)).to eq(date.round(0))
14
expect(file_stat.downloads).to eq(2)
15
end
16
spec/models/file_view_stat_spec.rb
@@ -11,7 +11,7 @@
expect(file_stat.views).to eq(25)
expect(file_stat.user_id).to eq(user_id)
17
0 commit comments