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

Disable pipeline quote specs for MySQL

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