Skip to content

Commit

Permalink
Merge pull request #5535 from komidore64/rails4-more-actions
Browse files Browse the repository at this point in the history
Rails4 more actions
  • Loading branch information
komidore64 committed Oct 15, 2015
2 parents 048cd02 + 28e3e2a commit 39ab3c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/actions/import_pool_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

module Katello
describe ::Actions::Candlepin::ImportPoolHandler do
let(:pool_id) { '12345' }
let(:pool_id) { 'abc123' }
let(:pool) { OpenStruct.new(:id => pool_id) }

before do
::Actions::Candlepin::ImportPoolHandler.any_instance.stubs(:attempt_find_pool).returns('id' => pool_id)
::Katello::Pool.stubs(:search).returns([pool])
::Katello::Pool.any_instance.stubs(:import_data).returns(true)
end
Expand Down

0 comments on commit 39ab3c8

Please sign in to comment.