Sha256: 02ee73cdc7bbd4c1bcbf562c527cf6950f763dda52b8428d00280215839b0692

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

shared_examples "a action with properties" do |*properties|
  its(:"properties.value") { should respond_to :keys }
  its(:"properties.value") { should respond_to :values }

  if properties
    properties.each do |property|
      its(:"properties.value.keys") { should include property }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fonte-0.2.0 spec/support/shared_examples/properties.rb
fonte-0.1.0 spec/support/shared_examples/properties.rb