Sha256: aaea58d04f10a074189f5bd4f9836e3be4febb4838479b15c575bc72bb5ff6ad

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

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

describe TedApi do
  after do
    TedApi.reset
  end

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

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ted_api-0.1 spec/ted_api_spec.rb