Sha256: 80f131de4b6c71043ee222c60f2b9baa856b68f744dfcdb4f15077a78dad844e

Contents?: true

Size: 571 Bytes

Versions: 12

Compression:

Stored size: 571 Bytes

Contents

require 'spec_helper'

describe Outliers::Resources do
  subject { Outliers::Resources }

  context "#collections" do
    it "should return all the collections" do
      Outliers::Resources.stub :all_the_modules => [Outliers::Resources::Aws::Ec2, 
                                                    Outliers::Resources::Aws::Ec2::SecurityGroup,
                                                    Outliers::Resources::Aws::Ec2::SecurityGroupCollection]
      expect(subject.collections).to eq([Outliers::Resources::Aws::Ec2::SecurityGroupCollection])
    end
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
outliers-0.5.0 spec/resources_spec.rb
outliers-0.5.0.beta3 spec/resources_spec.rb
outliers-0.5.0.beta2 spec/resources_spec.rb
outliers-0.5.0.beta1 spec/resources_spec.rb
outliers-0.3.3 spec/resources_spec.rb
outliers-0.3.2 spec/resources_spec.rb
outliers-0.3.1 spec/resources_spec.rb
outliers-0.3.0 spec/resources_spec.rb
outliers-0.2.0 spec/resources_spec.rb
outliers-0.1.1 spec/resources_spec.rb
outliers-0.1.0 spec/resources_spec.rb
outliers-0.0.1 spec/resources_spec.rb