Sha256: bb3232f2a46d0afc489c271f15eb60e1caf71b98fa301228983d27ecd46d9a9c
Contents?: true
Size: 739 Bytes
Versions: 52
Compression:
Stored size: 739 Bytes
Contents
require "spec_helper" module CFoundry module V2 describe Organization do let(:client) { build(:client) } let(:organization) { build(:organization, :client => client) } it_behaves_like "a summarizeable model" do subject { organization } let(:summary_attributes) { {:name => "fizzbuzz"} } end it "has quota_definition" do quota = build(:quota_definition) organization.quota_definition = quota expect(organization.quota_definition).to eq(quota) end it "has billing_enabled" do [true, false].each do |v| organization.billing_enabled = v expect(organization.billing_enabled).to eq(v) end end end end end
Version data entries
52 entries across 52 versions & 1 rubygems