Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (22 sloc) 0.637 kb
require 'spec_helper'
describe VividSeats::Performer do
context ".all" do
it "returns an array of performers" do
use_cached_requests(:performers) do
subject.all.should have(25_114).performers
end
end
it "returns an array of performers for the given category" do
use_cached_requests(:performers) do
subject.all(:categoryId => 74).should have(1_597).performers
end
end
end
context ".find" do
it "returns the performer with the given ID" do
use_cached_requests(:performers) do
subject.find(7145)['name'].should == 'Billy Elliot'
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.