Sha256: 9a7d464a6d58825b4f1c20423ead51c9bc841350a48390dd6a8bb2d95f75e845
Contents?: true
Size: 491 Bytes
Versions: 40
Compression:
Stored size: 491 Bytes
Contents
describe Ufo::Core do before(:all) do create_ufo_project end it "finds the first env that contains the aws profile" do env = Ufo.send(:env_from_profile, "dev_profile1") expect(env).to eq "development" env = Ufo.send(:env_from_profile, "dev_profile2") expect(env).to eq "development" env = Ufo.send(:env_from_profile, "prod_profile") expect(env).to eq "production" env = Ufo.send(:env_from_profile, "does_not_exist") expect(env).to be nil end end
Version data entries
40 entries across 40 versions & 1 rubygems