Sha256: 209094cdcedbdf7f0781e1c3b0a4061f977d305f4f98b933643ade8fe9e39c64

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'helper'

describe GettyConnect do
  after do
    GettyConnect.reset
  end

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

  describe ".new" do
    it "should be a GettyConnect::Client" do
      GettyConnect.new.should be_a GettyConnect::Client
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
getty_connect-0.0.4 spec/getty_connect_spec.rb
getty_connect-0.0.3 spec/getty_connect_spec.rb
getty_connect-0.0.2 spec/getty_connect_spec.rb