summaryrefslogtreecommitdiff
path: root/spec/lib/forever_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/forever_spec.rb')
-rw-r--r--spec/lib/forever_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/lib/forever_spec.rb b/spec/lib/forever_spec.rb
index 494c0561975..09d91590d22 100644
--- a/spec/lib/forever_spec.rb
+++ b/spec/lib/forever_spec.rb
@@ -1,19 +1,19 @@
-require 'spec_helper'
+require "spec_helper"
describe Forever do
- describe '.date' do
+ describe ".date" do
subject { described_class.date }
- context 'when using PostgreSQL' do
- it 'should return Postgresql future date' 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
- context 'when using MySQL' do
- it 'should return MySQL future date' 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)