summaryrefslogtreecommitdiff
path: root/spec/lib/forever_spec.rb
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-09-07 15:08:55 +0000
committerNick Thomas <nick@gitlab.com>2018-09-07 15:08:55 +0000
commit124cece3b39f5cc38686df39c179b1a61ecbd562 (patch)
tree3b5ea888156c05fe8cd6a6cab69cbd9721d565a7 /spec/lib/forever_spec.rb
parent272281e4729c9e2193acea84394a191cfe2496af (diff)
downloadgitlab-ce-124cece3b39f5cc38686df39c179b1a61ecbd562.tar.gz
Include private contributions in user contribution graph
Diffstat (limited to 'spec/lib/forever_spec.rb')
-rw-r--r--spec/lib/forever_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/lib/forever_spec.rb b/spec/lib/forever_spec.rb
index cf40c467c72..494c0561975 100644
--- a/spec/lib/forever_spec.rb
+++ b/spec/lib/forever_spec.rb
@@ -7,6 +7,7 @@ describe Forever do
context 'when using PostgreSQL' do
it 'should return Postgresql future date' do
allow(Gitlab::Database).to receive(:postgresql?).and_return(true)
+
expect(subject).to eq(described_class::POSTGRESQL_DATE)
end
end
@@ -14,6 +15,7 @@ describe Forever do
context 'when using MySQL' do
it 'should return MySQL future date' do
allow(Gitlab::Database).to receive(:postgresql?).and_return(false)
+
expect(subject).to eq(described_class::MYSQL_DATE)
end
end