Sha256: 5d169df40576defc35ee25017f992a309d396bd4c1e62536ad7d0e7e2a716bca

Contents?: true

Size: 740 Bytes

Versions: 1

Compression:

Stored size: 740 Bytes

Contents

require 'spec_helper'
require 'lanyrd'

describe Lanyrd::Client do
  before(:each) { @lanyrd = Lanyrd::Client.new }

  it "should search lanyrd" do
    @lanyrd.search('ruby').should be_an_instance_of Hash
  end

  it "should return popular events" do
    @lanyrd.popular.should be_an_instance_of Hash
  end

  it "should return popular events" do
    @lanyrd.popular.should be_an_instance_of Hash
  end

  it "should return event information" do
    @lanyrd.event('cfdbd').should be_an_instance_of Hash
  end

  it "should return speakers for an event" do
    @lanyrd.speakers('cfdbd').should be_an_instance_of Hash
  end

  it "should return attendees for an event" do
    @lanyrd.attendees('cfdbd').should be_an_instance_of Hash
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lanyrd-0.0.1 spec/client_spec.rb