Sha256: 61e1bf5ed1372df323f0a9621e2a2dad9186685d009895a69d3ab6e077e6f980
Contents?: true
Size: 480 Bytes
Versions: 10
Compression:
Stored size: 480 Bytes
Contents
require 'spec_helper' describe EY::CloudClient::Account do before do FakeWeb.allow_net_connect = true 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
10 entries across 10 versions & 1 rubygems