Sha256: 97fb67ffd55af4480087ff27bbaa9c752ce6cefe4d175e5407701f96fbcffaaa

Contents?: true

Size: 294 Bytes

Versions: 10

Compression:

Stored size: 294 Bytes

Contents

require 'spec_helper'

describe PropertyValue do
  it { should be_mongoid_document }
  it { should be_timestamped_document }

  it { should have_field(:value) }
  it { should have_field(:created_by) }
  it { should validate_presence_of(:created_by) }
  it { should be_embedded_in(:metric) }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
techcor-0.0.10 spec/lib/storage/property_value_mongo_spec.rb
techcor-0.0.9 spec/lib/storage/property_value_mongo_spec.rb
techcor-0.0.8 spec/lib/storage/property_value_mongo_spec.rb
techcor-0.0.7 spec/lib/storage/property_value_mongo_spec.rb
techcor-0.0.6 spec/lib/storage/property_value_mongo_spec.rb
techcor-0.0.5 spec/lib/storage/property_value_mongo_spec.rb
techcor-0.0.4 spec/lib/storage/property_value_mongo_spec.rb
techcor-0.0.3 spec/lib/storage/property_value_mongo_spec.rb
techcor-0.0.2 spec/lib/storage/property_value_mongo_spec.rb
techcor-0.0.1 spec/lib/storage/property_value_mongo_spec.rb