Skip to content

Commit

Permalink
Fix test to expect call on SUSE::Connect::Config rather than on RbConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
kalabiyau committed Oct 13, 2014
1 parent 4598515 commit 68b3e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/connect/cli_spec.rb
Expand Up @@ -144,7 +144,7 @@

it 'writes config if approproate cli param been passed' do
cli = subject.new(%w{--write-config --status})
expect_any_instance_of(Config).to receive(:write!)
expect_any_instance_of(SUSE::Connect::Config).to receive(:write!)
allow_any_instance_of(Status).to receive(:print_product_statuses)
cli.execute!
end
Expand Down

0 comments on commit 68b3e6d

Please sign in to comment.