Properly CamelCase service name

This commit is contained in:
Matija Čupić 2017-12-16 02:12:44 +01:00
parent 87f01506cb
commit 291480f5e1
No known key found for this signature in database
GPG Key ID: 4BAF84FFACD2E5DE
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
class CheckGCPProjectBillingService
class CheckGcpProjectBillingService
def execute(token)
client = GoogleApi::CloudPlatform::Client.new(token, nil)
client.projects_list.any? do |project|

View File

@ -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

View File

@ -1,6 +1,6 @@
require 'spec_helper'
describe CheckGCPProjectBillingService do
describe CheckGcpProjectBillingService do
let(:service) { described_class.new }
describe '#execute' do