[PATCH conductor] Fix 1 spec that requires iwhd to be running.
Jason Guiditta
jguiditt at redhat.com
Mon Aug 20 21:34:22 UTC 2012
---
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
--
1.7.7.6
More information about the aeolus-devel
mailing list