summaryrefslogtreecommitdiff
path: root/spec/finders
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-04-28 12:42:01 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-04-28 12:42:01 +0200
commit285926918b95f1d771bf4e9c84972d4e55b41ea9 (patch)
treef49cb42a094fbe5e3de08c549349fd99cb567465 /spec/finders
parent7ec5ff4dbae71d147f413da5cea64116e7eb305d (diff)
downloadgitlab-ce-285926918b95f1d771bf4e9c84972d4e55b41ea9.tar.gz
Serialize last_fetched_at as a string with seconds
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/notes_finder_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/notes_finder_spec.rb b/spec/finders/notes_finder_spec.rb
index 80d6a36c311..4f8a5f909df 100644
--- a/spec/finders/notes_finder_spec.rb
+++ b/spec/finders/notes_finder_spec.rb
@@ -12,7 +12,7 @@ describe NotesFinder do
end
describe :execute do
- let(:params) { { target_id: commit.id, target_type: 'commit', last_fetched_at: 1.hour.ago } }
+ let(:params) { { target_id: commit.id, target_type: 'commit', last_fetched_at: 1.hour.ago.to_i } }
before do
note1