Sha256: bea4818937bbed92a15294bb66d8f5ffa8fa9d8d1608d3f1d1d8761c6d8cd78f
Contents?: true
Size: 510 Bytes
Versions: 14
Compression:
Stored size: 510 Bytes
Contents
require 'spec_helper' describe Outliers::Providers do subject { Outliers::Providers } before do subject.stub :all_the_modules => [Outliers::Providers::Aws, Outliers::Providers::Aws::Ec2] end it "should return all the providers" do expect(subject.all).to eq([Outliers::Providers::Aws::Ec2]) end context "#name_map" do it "should return a map of resource human names to objects" do expect(subject.name_map).to eq({ 'aws_ec2' => Outliers::Providers::Aws::Ec2 }) end end end
Version data entries
14 entries across 14 versions & 1 rubygems