Sha256: 2305585f200746b09c307694fda4affb17a4bce0f4a12312d5710ec418f285ed

Contents?: true

Size: 503 Bytes

Versions: 6

Compression:

Stored size: 503 Bytes

Contents

require 'test_helper'
require 'omf_ec/context'

describe OmfEc::Context do
  before do
    @context = OmfEc::Context::GroupContext.new(group: 'universe')
  end

  describe "when initialised with options" do
    it "must be able to respond to random group operation method" do
      skip
    end

    it "must be able to construct guards" do
      g = @context[name: 'bob'][type: 'engine', group: 'universe'].guard
      g.must_equal({ name: 'bob', type: 'engine', group: 'universe' })
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omf_ec-6.0.2.pre.2 test/omf_ec/context_spec.rb
omf_ec-6.0.2.pre.1 test/omf_ec/context_spec.rb
omf_ec-6.0.1 test/omf_ec/context_spec.rb
omf_ec-6.0.0 test/omf_ec/context_spec.rb
omf_ec-6.0.0.pre.5 test/omf_ec/context_spec.rb
omf_ec-6.0.0.pre.4 test/omf_ec/context_spec.rb