diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-04-28 12:42:01 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-04-28 12:42:01 +0200 |
commit | 285926918b95f1d771bf4e9c84972d4e55b41ea9 (patch) | |
tree | f49cb42a094fbe5e3de08c549349fd99cb567465 /spec/finders | |
parent | 7ec5ff4dbae71d147f413da5cea64116e7eb305d (diff) | |
download | gitlab-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.rb | 2 |
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 |