Sha256: 3db104b57f369b5c7674fd59d87e20d7b0f3b802979601df3ba08d5603fb8368
Contents?: true
Size: 573 Bytes
Versions: 2
Compression:
Stored size: 573 Bytes
Contents
require 'spec_helper' module Alf describe Viewpoint, "metadata" do subject{ viewpoint.metadata } let(:viewpoint){ Module.new{ include Viewpoint } } it 'should be a Metadata instance' do subject.should be_a(Viewpoint::Metadata) end it 'should always be the same on the same viewpoint' do subject.should be(viewpoint.metadata) end it 'should be different that metadata from other viewpoints' do other = Module.new{ include Viewpoint } subject.should_not be(other.metadata) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | spec/unit/alf-viewpoint/test_metadata.rb |
alf-core-0.14.0 | spec/unit/alf-viewpoint/test_metadata.rb |