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.1.0 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.4.rc2 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.4.rc1 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.3 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.2.rc5 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.2.rc4 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.2.rc3 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.2.rc2 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.2.rc1 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.1 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-4.0.0 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-3.0.1 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-3.0.0 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-2.4.1.rc1 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-2.4.0 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-2.3.7.rc1 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-2.3.6 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-2.3.6.rc2 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-2.3.6.rc1 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb
cfoundry-2.3.5 spec/cfoundry/v2/model_magic/model_magic/has_summary_spec.rb