Sha256: 741a767e42dded1d1fe1dc761a0c84175328091ec463476438fc6749dc2a13c2

Contents?: true

Size: 865 Bytes

Versions: 51

Compression:

Stored size: 865 Bytes

Contents

# Copyright (c) 2012 National ICT Australia Limited (NICTA).
# This software may be used and distributed solely under the terms of the MIT license (License).
# You should find a copy of the License in LICENSE.TXT or at http://opensource.org/licenses/MIT.
# By downloading or using this software you accept the terms and the liability disclaimer in the License.

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

51 entries across 51 versions & 1 rubygems

Version Path
omf_ec-6.2.3 test/omf_ec/context_spec.rb
omf_ec-6.2.2 test/omf_ec/context_spec.rb
omf_ec-6.2.1 test/omf_ec/context_spec.rb
omf_ec-6.2.0 test/omf_ec/context_spec.rb
omf_ec-6.2.0.pre.2 test/omf_ec/context_spec.rb
omf_ec-6.2.0.pre.1 test/omf_ec/context_spec.rb
omf_ec-6.1.14.pre.2 test/omf_ec/context_spec.rb
omf_ec-6.1.14.pre.1 test/omf_ec/context_spec.rb
omf_ec-6.1.12 test/omf_ec/context_spec.rb
omf_ec-6.1.11 test/omf_ec/context_spec.rb
omf_ec-6.1.10 test/omf_ec/context_spec.rb
omf_ec-6.1.9 test/omf_ec/context_spec.rb
omf_ec-6.1.9.pre.4 test/omf_ec/context_spec.rb
omf_ec-6.1.9.pre.3 test/omf_ec/context_spec.rb
omf_ec-6.1.9.pre.2 test/omf_ec/context_spec.rb
omf_ec-6.1.8 test/omf_ec/context_spec.rb
omf_ec-6.1.7 test/omf_ec/context_spec.rb
omf_ec-6.1.6 test/omf_ec/context_spec.rb
omf_ec-6.1.6.pre.2 test/omf_ec/context_spec.rb
omf_ec-6.1.6.pre.1 test/omf_ec/context_spec.rb