Sha256: 6a3876c3a574f7ed63cc2258f9fb3997f7aee873dd05e68d079f8cf411ba1b8b

Contents?: true

Size: 457 Bytes

Versions: 3

Compression:

Stored size: 457 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe "Grendel::Client" do
  before do
    @client = Grendel::Client.new("http://example.com")
  end

  describe "new method" do
    it "should set the base_uri" do
      @client.base_uri.should == "http://example.com"
    end
  end

  describe "users method" do
    it "should return a Grendel::UserManager" do
      @client.users.should be_a(Grendel::UserManager)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grendel-ruby-0.1.5 spec/grendel/client_spec.rb
grendel-ruby-0.1.4 spec/grendel/client_spec.rb
grendel-ruby-0.1.3 spec/grendel/client_spec.rb