Sha256: 8f4db5aea6aeece6da35a02175ad79b4b39f387ccbdf3d8acc4d3f10809d8400
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
require 'spec_helper' module Alf module Support describe Config, '.options' do let(:conf){ Class.new(Config){ option :ready, Boolean, false option :hello, String, "world" } } it 'should contain the options' do conf.options.should eq([ [:ready, Boolean, false], [:hello, String, "world"] ]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | spec/unit/alf-support/config/test_options.rb |
alf-core-0.14.0 | spec/unit/alf-support/config/test_options.rb |