Skip to content
Snippets Groups Projects

Add shared_runners_minutes_limit to groups and users API

Merged username-removed-423915 requested to merge add-api-shared_runners_minutes_limit into master
All threads resolved!
1 file
+ 8
0
Compare changes
  • Side-by-side
  • Inline
+ 8
0
@@ -13,6 +13,14 @@
@@ -13,6 +13,14 @@
it { is_expected.to include_module(TokenAuthenticatable) }
it { is_expected.to include_module(TokenAuthenticatable) }
end
end
 
describe 'delegations' do
 
it { is_expected.to delegate_method(:path).to(:namespace).with_prefix }
 
 
# EE
 
it { is_expected.to delegate_method(:shared_runners_minutes_limit).to(:namespace) }
 
it { is_expected.to delegate_method(:shared_runners_minutes_limit=).to(:namespace).with_arguments(133) }
 
end
 
describe 'associations' do
describe 'associations' do
it { is_expected.to have_one(:namespace) }
it { is_expected.to have_one(:namespace) }
it { is_expected.to have_many(:snippets).dependent(:destroy) }
it { is_expected.to have_many(:snippets).dependent(:destroy) }
Loading