Sha256: 0526e7d49dd37ab0e6b71020e0e0153eaae8ab7c183c4d0fe5200de1f6ce9565

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

require 'helper'

describe Commons do
  after do
    Commons.reset
  end

  describe ".respond_to?" do
    it "should be true if method exists" do
      Commons.respond_to?(:new, true).should be_true
    end
  end

  describe ".new" do
    it "should return a Commons::Client" do
      Commons.new.should be_a Commons::Client
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
commons-0.0.3 spec/commons_spec.rb
commons-0.0.2 spec/commons_spec.rb
commons-0.0.1 spec/commons_spec.rb