Commit 217a78d6 authored by Mayra Cabrera's avatar Mayra Cabrera

Disable pipeline quote specs for MySQL

parent 4dbb4cde
require 'spec_helper'
feature 'Profile > Pipeline Quota' do
feature 'Profile > Pipeline Quota', :postgresql do
before do
gitlab_sign_in(user)
end
let(:user) { create(:user) }
let!(:namespace) { create(:namespace, owner: user, path: 'foo') }
let(:namespace) { create(:namespace, owner: user) }
let!(:project) { create(:project, namespace: namespace, shared_runners_enabled: true) }
it 'is linked within the profile page' do
......@@ -18,7 +18,7 @@ feature 'Profile > Pipeline Quota' do
end
context 'with no quota' do
let!(:namespace) { create(:namespace, :with_build_minutes, owner: user, path: 'foo') }
let(:namespace) { create(:namespace, :with_build_minutes, owner: user) }
it 'shows correct group quota info' do
visit profile_pipeline_quota_path
......@@ -31,7 +31,7 @@ feature 'Profile > Pipeline Quota' do
end
context 'with no projects using shared runners' do
let!(:namespace) { create(:namespace, :with_not_used_build_minutes_limit, owner: user, path: 'foo') }
let(:namespace) { create(:namespace, :with_not_used_build_minutes_limit, owner: user) }
let!(:project) { create(:project, namespace: namespace, shared_runners_enabled: false) }
it 'shows correct group quota info' do
......@@ -49,7 +49,7 @@ feature 'Profile > Pipeline Quota' do
end
context 'minutes under quota' do
let!(:namespace) { create(:namespace, :with_not_used_build_minutes_limit, owner: user, path: 'foo') }
let(:namespace) { create(:namespace, :with_not_used_build_minutes_limit, owner: user) }
it 'shows correct group quota info' do
visit profile_pipeline_quota_path
......@@ -63,7 +63,7 @@ feature 'Profile > Pipeline Quota' do
end
context 'minutes over quota' do
let!(:namespace) { create(:namespace, :with_used_build_minutes_limit, owner: user, path: 'foo') }
let(:namespace) { create(:namespace, :with_used_build_minutes_limit, owner: user) }
let!(:other_project) { create(:project, namespace: namespace, shared_runners_enabled: false) }
it 'shows correct group quota and projects info' do
......
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