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
new_cfoundry-4.9.4 spec/cfoundry/v2/model_magic/has_summary_spec.rb
new_cfoundry-4.9.3 spec/cfoundry/v2/model_magic/has_summary_spec.rb
ncfoundry-4.9.4 spec/cfoundry/v2/model_magic/has_summary_spec.rb
ncfoundry-4.9.3 spec/cfoundry/v2/model_magic/has_summary_spec.rb
ncfoundry-4.9.2 spec/cfoundry/v2/model_magic/has_summary_spec.rb
new_cfoundry-4.9.2 spec/cfoundry/v2/model_magic/has_summary_spec.rb
new_cfoundry-4.9.1 spec/cfoundry/v2/model_magic/has_summary_spec.rb
new_cfoundry-4.9.0 spec/cfoundry/v2/model_magic/has_summary_spec.rb
new_cfoundry-4.8.3 spec/cfoundry/v2/model_magic/has_summary_spec.rb
new_cfoundry-4.8.2 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.7.2.rc1 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.7.1 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.7.1.rc1 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.7.0 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.6.3.rc3 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.6.3.rc2 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.6.3.rc1 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.6.2 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.6.1 spec/cfoundry/v2/model_magic/has_summary_spec.rb
cfoundry-4.6.0 spec/cfoundry/v2/model_magic/has_summary_spec.rb