Sha256: b63cd3142fa04fadccf81ce03bc7b8d95a5c972204db8ae1fa31e53bafc15dbc

Contents?: true

Size: 226 Bytes

Versions: 22

Compression:

Stored size: 226 Bytes

Contents

require 'insulin'

describe Insulin::Config do
  config = Insulin::Config.new

  it "should return the correct section" do
    config["mongo"].should == {
      "host"=>"localhost",
      "database"=>"insulin"
    }
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
insulin-0.1.11 spec/config_spec.rb
insulin-0.1.10 spec/config_spec.rb
insulin-0.1.9 spec/config_spec.rb
insulin-0.1.8 spec/config_spec.rb
insulin-0.1.7 spec/config_spec.rb
insulin-0.1.6 spec/config_spec.rb
insulin-0.1.5 spec/config_spec.rb
insulin-0.1.4 spec/config_spec.rb
insulin-0.1.3 spec/config_spec.rb
insulin-0.1.2 spec/config_spec.rb
insulin-0.1.1 spec/config_spec.rb
insulin-0.1.0 spec/config_spec.rb
insulin-0.0.18 spec/config_spec.rb
insulin-0.0.17 spec/config_spec.rb
insulin-0.0.16 spec/config_spec.rb
insulin-0.0.15 spec/config_spec.rb
insulin-0.0.14 spec/config_spec.rb
insulin-0.0.13 spec/insulin_config_spec.rb
insulin-0.0.12 spec/insulin_config_spec.rb
insulin-0.0.11 spec/insulin_config_spec.rb