Sha256: 079da9c5434d33b190ac607aebb271939bd59a6fd28665203cf9bce78aa1e766
Contents?: true
Size: 618 Bytes
Versions: 10
Compression:
Stored size: 618 Bytes
Contents
require "spec_helper" require "opsicle" require 'gli' require "opsicle/user_profile" module Opsicle describe CloneableStack do before do @stack = double('stack') @stacks = double('stacks', :stacks => [@stack]) @opsworks = double('opsworks', :describe_stacks => @stacks) end context "#get_stack" do it "should gather opsworks instances for that layer" do stack = CloneableStack.new(12345, @opsworks) expect(@opsworks).to receive(:describe_stacks).and_return(@stacks) expect(@stacks).to receive(:stacks) stack.get_stack end end end end
Version data entries
10 entries across 10 versions & 1 rubygems