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