Sha256: 4a4b4a2bb61d2240ff9d47343767634f1cfdb210569080752cd37ee89674ac51

Contents?: true

Size: 374 Bytes

Versions: 74

Compression:

Stored size: 374 Bytes

Contents

require "spec_helper"

class TestModel < CFoundry::V2::Model
  attribute :foo, :string
end

module CFoundry
  module V2
    describe ModelMagic do
      it_behaves_like "a summarizeable model" do
        let(:summary_attributes) { {:foo => "abcd"} }
        let(:client) { build(:client) }
        subject { TestModel.new("some-guid-1", client) }
      end
    end
  end
end

Version data entries

74 entries across 74 versions & 3 rubygems

Version Path
cfoundry-4.5.3 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.5.2 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.5.1 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.5.0 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.12 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.11 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.10 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.9 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.8 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.7 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.6 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.5 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.5.rc1 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.4 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.4.rc1 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.3.3 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.3.2.rc1 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.3.1 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.3.0 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.2.0.rc spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb