Sha256: 90f31cfd9f5d2827076056a228ca5c8e9c82bd7df07aa7a675f7d6cc9226f683
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 KB
Contents
require 'spec_helper' FACEBOOK_ID = 'AlMacInnisSportsCentre' describe FacebookEvents do describe "list" do l = FacebookEvents.list(FACEBOOK_ID) it "returns an array" do l.class.should == Array end describe "first" do f = l.first it "is an Event" do f.class.should == Hash end it "has a facebook id" do f['id'].should == '348500465212758' end it "has a name" do f['name'].should == "Father's Day Fundraiser" end it "has a start_time" do f['start_time'].should == "2012-06-16T16:00:00" end it "has a description" do f['description'].should == "The Al MacInnis Sports Centre is hosting a fundraiser on Saturday, June 16th from 8pm - 12am. Live entertainment, hot & cold hors d\u2019oeuvres, game tables, horse shoes, door prizes. All of this will take place in heated tents with an ambience that will set the stage. Entertainment by Billy Spears, Gary Trenholm & Stephen Doiron.\n\nTickets are $40 each and can be purchased by contacting Shannon MacDougall at 631-1401. Visa & M/C accepted." end it "has an updated_time" do f['updated_time'].should == "2012-04-27T12:13:07+0000" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facebook_events-0.0.3 | spec/facebook_events_spec.rb |