Sha256: 81c0aed0c672e08167de9f010a45c93d1dff1db22f1a94cb966d093130bdde79
Contents?: true
Size: 547 Bytes
Versions: 6
Compression:
Stored size: 547 Bytes
Contents
require 'spec_helper' describe EY::CloudClient::Account do before do FakeWeb.allow_net_connect = true EY::CloudClient.endpoint = EY::CloudClient::Test::FakeAwsm.uri end describe ".all" do it "returns all accounts" do api = scenario_cloud_client "Multiple Ambiguous Accounts" accounts = EY::CloudClient::Account.all(api) accounts.should have(2).account accounts.find { |account| account.name == 'main' }.should be accounts.find { |account| account.name == 'account_2' }.should be end end end
Version data entries
6 entries across 6 versions & 1 rubygems