Sha256: 9dfef4cf44555f37f00412d1bfb8a8a2c8f27271377e6e4f3851afd14d955c36

Contents?: true

Size: 387 Bytes

Versions: 8

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'

describe ProfileSection do

  it_behaves_like 'a_collectible'
  it_behaves_like 'a_collection_like_object'


  it 'can be a member of a Profile' do
    expect( subject.can_be_member_of_collection?(Profile.new) ).to eq true
  end

  it 'cannot be a member of a Collection' do
    expect( subject.can_be_member_of_collection?(Collection.new) ).to eq false
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
curate-0.6.6 spec/repository_models/profile_section_spec.rb
curate-0.6.5 spec/repository_models/profile_section_spec.rb
curate-0.6.4 spec/repository_models/profile_section_spec.rb
curate-0.6.3 spec/repository_models/profile_section_spec.rb
curate-0.6.1 spec/repository_models/profile_section_spec.rb
curate-0.6.0 spec/repository_models/profile_section_spec.rb
curate-0.5.6 spec/repository_models/profile_section_spec.rb
curate-0.5.5 spec/repository_models/profile_section_spec.rb