spec/client_spec.rb in lanyrd-0.0.1 vs spec/client_spec.rb in lanyrd-0.1.1
- old
+ new
@@ -10,21 +10,29 @@
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
+ it "should return event information" do
+ @lanyrd.event('fosdem').should be_an_instance_of Hash
end
- it "should return event information" do
- @lanyrd.event('cfdbd').should be_an_instance_of Hash
+ it "should return event information from the past" do
+ @lanyrd.event('bathcamp-32', 2012).should be_an_instance_of Hash
end
it "should return speakers for an event" do
- @lanyrd.speakers('cfdbd').should be_an_instance_of Hash
+ @lanyrd.speakers('fosdem').should be_an_instance_of Hash
end
it "should return attendees for an event" do
- @lanyrd.attendees('cfdbd').should be_an_instance_of Hash
+ @lanyrd.attendees('fosdem').should be_an_instance_of Hash
+ end
+
+ it "should return the schedule for an event" do
+ @lanyrd.schedule('fosdem').should be_an_instance_of Hash
+ end
+
+ it "should return profile for a user" do
+ @lanyrd.schedule('teabass').should be_an_instance_of Hash
end
end
\ No newline at end of file