Skip to content

Commit

Permalink
Update VCR cassettes with EBS parser
Browse files Browse the repository at this point in the history
Signed-off-by: Gregor Berginc <[email protected]>
  • Loading branch information
gberginc committed Jan 26, 2017
1 parent 6358226 commit 5beb8df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

allow(Settings.ems_refresh).to receive(:ec2).and_return(settings)
allow(Settings.ems_refresh).to receive(:ec2_network).and_return(inventory_object_settings)
allow(Settings.ems_refresh).to receive(:ec2_ebs_storage).and_return(settings)
end

it "will perform a full refresh" do
Expand All @@ -36,6 +37,7 @@
VCR.use_cassette(described_class.name.underscore + '_inventory_object') do
EmsRefresh.refresh(@ems)
EmsRefresh.refresh(@ems.network_manager)
EmsRefresh.refresh(@ems.ebs_storage_manager)
end
@ems.reload

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
VCR.use_cassette("#{described_class.name.underscore}_other_region") do
EmsRefresh.refresh(@ems)
EmsRefresh.refresh(@ems.network_manager)
EmsRefresh.refresh(@ems.ebs_storage_manager)
end
@ems.reload

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
VCR.use_cassette(described_class.name.underscore) do
EmsRefresh.refresh(@ems)
EmsRefresh.refresh(@ems.network_manager)
EmsRefresh.refresh(@ems.ebs_storage_manager)
end
@ems.reload

Expand Down

0 comments on commit 5beb8df

Please sign in to comment.