Sha256: fb6fef4f0088cadd6be70e6a59133e55e80379a2b0f4c567462a25ff33c0bf15

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'spec_helper')

describe Slate do
  it "should be able to configure the graphite host" do
    client = Slate.configure do |c|
      c.endpoint = "http://graphite"
    end

    client.endpoint.should == "http://graphite"
  end

  it "should be able to configure the request timeout" do
    client = Slate.configure do |c|
      c.timeout = 30
    end

    client.timeout.should == 30
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slate-1.1.2 spec/lib/slate_spec.rb
slate-1.1.1 spec/lib/slate_spec.rb
slate-1.1.0 spec/lib/slate_spec.rb