Sha256: 12b1bebb219c3df9115d56e0728b2cd7f2ac1f6eac94671788f61cfd4361a691

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 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
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slate-1.0.3 spec/lib/slate_spec.rb
slate-1.0.2 spec/lib/slate_spec.rb
slate-1.0.1 spec/lib/slate_spec.rb
slate-1.0.0 spec/lib/slate_spec.rb