Skip to content

Commit

Permalink
fix whitespace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
HarikaChebrolu committed Apr 18, 2020
1 parent 7d67344 commit 0bb4065
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions spec/unit/provider/oneview_server_certificate_c7000_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,6 @@

let(:test) { resource_type.new(@client, resource['data']) }

context 'given the min parameters' do
before(:each) do
provider.exists?
allow(resource_type).to receive(:find_by)
end

it 'should be an instance of the provider Ruby' do
expect(provider).to be_an_instance_of Puppet::Type.type(:oneview_server_certificate).provider(:c7000)
end
end

context 'given the minimum parameters' do
let(:resource) do
Puppet::Type.type(:oneview_server_certificate).new(
Expand All @@ -68,6 +57,7 @@
end

it 'should be able to get the certificate request' do
allow_any_instance_of(resource_type).to receive(:get_certificate)
provider.exists?
expect(provider.get_certificate).to be
end
Expand Down

0 comments on commit 0bb4065

Please sign in to comment.