[PATCH conductor] Fix 1 spec that requires iwhd to be running.

Richard Su rwsu at redhat.com
Wed Aug 22 17:21:00 UTC 2012


On 08/20/2012 02:34 PM, Jason Guiditta wrote:
> ---
>   src/spec/models/instance_spec.rb |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/src/spec/models/instance_spec.rb b/src/spec/models/instance_spec.rb
> index 44d76be..42c25e3 100644
> --- a/src/spec/models/instance_spec.rb
> +++ b/src/spec/models/instance_spec.rb
> @@ -246,6 +246,8 @@ describe Instance do
>       account = FactoryGirl.create(:mock_provider_account, :label => 'testaccount')
>       account.provider.hardware_profiles.destroy_all
>       @pool.pool_family.provider_accounts << account
> +    @instance.stub(:image_build).and_return("foo")
> +    @instance.stub(:provider_images_for_match).and_return([])
>       @instance.matches.last.should include(I18n.t('instances.errors.hw_profile_match_not_found', :account_name => 'testaccount'))
>     end
>   

Ack and pushed.



More information about the aeolus-devel mailing list