Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-04-28 14:42:01 +0400
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-04-28 14:42:01 +0400
commit285926918b95f1d771bf4e9c84972d4e55b41ea9 (patch)
treef49cb42a094fbe5e3de08c549349fd99cb567465 /spec
parent7ec5ff4dbae71d147f413da5cea64116e7eb305d (diff)
Serialize last_fetched_at as a string with seconds
Diffstat (limited to 'spec')
-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