Commit 7207c543 authored by Robert Speicher's avatar Robert Speicher

Merge branch '11270-fix-flaky-subscription-spec' into 'master'

Fix a flaky GitlabSubscription spec

Closes #11270

See merge request gitlab-org/gitlab-ee!11415
parents 089f9e1c 34bb354c
require 'spec_helper' require 'spec_helper'
describe GitlabSubscription do describe GitlabSubscription do
around do |example|
Timecop.freeze do
example.run
end
end
describe 'default values' do describe 'default values' do
it do it do
expect(subject.start_date).to eq(Date.today) expect(subject.start_date).to eq(Date.today)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment