Skip to content

Commit

Permalink
Merge pull request #240 from billfitzgerald0120/coverage_infra_pre_re…
Browse files Browse the repository at this point in the history
…tire

Removed some unused code from pre_retirement_spec method.
  • Loading branch information
mkanoor authored Jan 19, 2018
2 parents 68cc522 + 104039e commit 37d8d26
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
end
context "exceptions" do
let(:root_hash) { {} }
let(:svc_model_service) { nil }
shared_examples_for "#ae_result nil" do
it "values" do
described_class.new(ae_service).main
Expand All @@ -85,9 +84,7 @@
end

context "no ems" do
let(:vm) do
FactoryGirl.create(:vm_microsoft, :raw_power_state => "PowerOff")
end
let(:ems) { nil }
it_behaves_like "#ae_result nil"
end
end
Expand Down

0 comments on commit 37d8d26

Please sign in to comment.