Sha256: 6f0ca5d5d0346f35d3cd290c6ea3cb2b2bed4916c6c7c2cb2ba0c21e0dd2a6cd

Contents?: true

Size: 241 Bytes

Versions: 10

Compression:

Stored size: 241 Bytes

Contents

require 'spec_helper'

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

  it { should have_field(:name) }
  it { should embed_many(:metrics) }

  it { should validate_uniqueness_of(:name) }
end

Version data entries

10 entries across 10 versions & 1 rubygems

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