Sha256: fe346d5e0a1f966029a67f81346e9493c04c7973415c8346c6cc1f6f3c9dfa89
Contents?: true
Size: 621 Bytes
Versions: 7
Compression:
Stored size: 621 Bytes
Contents
require 'spec_helper' describe EY::CloudClient::App do before(:each) do FakeWeb.allow_net_connect = true end describe ".all" do it "finds all the apps" do api = scenario_cloud_client "One App Many Envs" apps = EY::CloudClient::App.all(api) apps.size.should == 1 app = apps.first app.name.should == 'rails232app' end it "includes environments in all apps" do api = scenario_cloud_client "One App Many Envs" app = api.apps.first app.environments.size.should == 2 app.environments.sort.map(&:name).should =~ %w[bakon giblets] end end end
Version data entries
7 entries across 7 versions & 1 rubygems