Sha256: 3f5a7497b1bf46c2edf4e35542f9f186c7b221d4f68bf1db53214c99a9344797

Contents?: true

Size: 297 Bytes

Versions: 2

Compression:

Stored size: 297 Bytes

Contents

require 'spec_helper'
module Alf
  describe Viewpoint, "expects" do

    let(:viewpoint){
      Module.new{
        include Viewpoint
        expects 1, 2
        expects 3
      }
    }

    it 'populates metadata' do
      viewpoint.metadata.expectations.should eq([1, 2, 3])
    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_expects.rb
alf-core-0.14.0 spec/unit/alf-viewpoint/test_expects.rb