From a69fcfb0bbebc9b34d2856ac7d34496735d69c7a Mon Sep 17 00:00:00 2001 From: Madhu Kanoor Date: Wed, 22 Mar 2017 11:56:02 -0400 Subject: [PATCH] The Service model href_slug Spec to test that the Service Model href_slug is the same as the one for the model --- spec/lib/miq_automation_engine/miq_ae_service_model_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/lib/miq_automation_engine/miq_ae_service_model_spec.rb b/spec/lib/miq_automation_engine/miq_ae_service_model_spec.rb index 4da3f8c8dea..dd347360338 100644 --- a/spec/lib/miq_automation_engine/miq_ae_service_model_spec.rb +++ b/spec/lib/miq_automation_engine/miq_ae_service_model_spec.rb @@ -33,6 +33,10 @@ expect(@ae_vm.associations).to be_kind_of(Array) end + it "href_slug" do + expect(@vm.href_slug).to eq(@ae_vm.href_slug) + end + describe "#tag_assign" do let(:category) { FactoryGirl.create(:classification) } let(:tag) { FactoryGirl.create(:classification_tag, :parent_id => category.id) }