Sha256: ae1f15319fcf3cd324db6482264bf256a630f51dde3515ad66f58fdfb3b2a285
Contents?: true
Size: 465 Bytes
Versions: 4
Compression:
Stored size: 465 Bytes
Contents
require "spec_helper" module CFoundry::V2 describe ModelMagic do let(:client) { fake_client } let(:guid) { random_string("my-object-guid") } let(:myobject) { mymodel.new(guid, client) } describe 'summarization for an arbitrary model' do let(:mymodel) { fake_model { attribute :foo, :string } } let(:summary_attributes) { {:foo => "abcd"} } subject { myobject } it_behaves_like 'a summarizeable model' end end end
Version data entries
4 entries across 4 versions & 1 rubygems