Properly CamelCase service name
This commit is contained in:
parent
87f01506cb
commit
291480f5e1
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
class CheckGCPProjectBillingService
|
||||
class CheckGcpProjectBillingService
|
||||
def execute(token)
|
||||
client = GoogleApi::CloudPlatform::Client.new(token, nil)
|
||||
client.projects_list.any? do |project|
|
||||
|
|
|
@ -62,8 +62,8 @@ describe GoogleApi::CloudPlatform::Client do
|
|||
it { is_expected.to eq(projects) }
|
||||
end
|
||||
|
||||
def projects_get_billing_info
|
||||
subject { client.projects_get_billing_info }
|
||||
describe '#projects_get_billing_info' do
|
||||
subject { client.projects_get_billing_info('project') }
|
||||
let(:billing_info) { double }
|
||||
|
||||
before do
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe CheckGCPProjectBillingService do
|
||||
describe CheckGcpProjectBillingService do
|
||||
let(:service) { described_class.new }
|
||||
|
||||
describe '#execute' do
|
||||
|
|
Loading…
Reference in a new issue