Sha256: e8d71ecf39c4568a008642f1f5110bec0ba56426c5f08306414f3fd44f2707d6

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

describe NetworkExecutive do
  it { should be_a Module }

  its(:config) { should be_a NetworkExecutive::Configuration }

  describe '.configure' do
    it 'should yield the config Hash' do
      config = nil

      described_class.configure { |c| config = c }

      config.should eq described_class.config      
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
network_executive-0.0.8 spec/network_executive_spec.rb
network_executive-0.0.7 spec/network_executive_spec.rb
network_executive-0.0.4 spec/network_executive_spec.rb
network_executive-0.0.3 spec/network_executive_spec.rb
network_executive-0.0.2 spec/network_executive_spec.rb