Skip to content

Commit

Permalink
update specs to use the new openshift inventory code
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Aug 6, 2017
1 parent a1e557b commit a98199b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@
VCR.use_cassette("#{described_class.name.underscore}_refresh",
:match_requests_on => [:path,]) do # , :record => :new_episodes) do
EmsRefresh.refresh(@ems)
@node = @ems.container_nodes.first
pod = @ems.container_groups.first
container = @ems.containers.first
@ems.reload

@node = @ems.container_nodes.find_by(:name => "capture.context.com")
pod = @ems.container_groups.find_by(:name => "docker-registry-1-4svbw")
container = pod.containers.find_by(:name => "registry")
@targets = [['node', @node], ['pod', pod], ['container', container]]
end
end
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a98199b

Please sign in to comment.