Commit 8dbe191b authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'id-remove-cloud-trait' into 'master'

Remove cloud trait for license factory

See merge request gitlab-org/gitlab!61345
parents aa836cbb 80713214
...@@ -52,10 +52,6 @@ FactoryBot.define do ...@@ -52,10 +52,6 @@ FactoryBot.define do
trial { false } trial { false }
end end
trait :cloud do
cloud { true }
end
data do data do
attrs = [:gitlab_license] attrs = [:gitlab_license]
attrs << :trial if trial attrs << :trial if trial
......
...@@ -121,7 +121,7 @@ RSpec.describe Gitlab::SeatLinkData do ...@@ -121,7 +121,7 @@ RSpec.describe Gitlab::SeatLinkData do
describe '#should_sync_seats?' do describe '#should_sync_seats?' do
let_it_be(:historical_data, refind: true) { create(:historical_data, recorded_at: timestamp) } let_it_be(:historical_data, refind: true) { create(:historical_data, recorded_at: timestamp) }
let(:license) { build(:license, :cloud) } let(:license) { build(:license, cloud: true) }
before do before do
allow(License).to receive(:current).and_return(license) allow(License).to receive(:current).and_return(license)
......
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