Revision 390b6a72
Added by Eric Helms over 10 years ago
spec/models/provider_spec.rb | ||
---|---|---|
|
||
it 'should be destroyable' do
|
||
disable_product_orchestration
|
||
provider = create(:provider, organization: @organization)
|
||
create(:product, :fedora, provider: provider)
|
||
provider = create(:katello_provider, organization: @organization)
|
||
create(:katello_product, :fedora, provider: provider)
|
||
assert provider.destroy
|
||
end
|
||
end
|
Also available in: Unified diff
Namespacing Katello factories and updating duplicated factories to modify
existing ones from Foreman. Addresses the test failures introduced
by Foreman PR #1070.