Permalink
Browse files

adding spec for empty set of backed projects

  • Loading branch information...
smudge committed Feb 4, 2013
1 parent ef8e7fc commit 9bcc8f40bd6349edce013aabd491d037ecc8f8b6
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/profile_spec.rb
View
@@ -68,6 +68,13 @@
end
end
+ it "finds the backed_projects (empty)" do
+ VCR.use_cassette "profile/#{benign}" do
+ @profile = Kickstarter::Profile.new(benign)
+ @profile.backed_projects.count.should eq(0)
+ end
+ end
+
it "finds the backed_projects (1 page)" do
VCR.use_cassette "profile/#{sensible}", :record => :new_episodes do
@profile = Kickstarter::Profile.new(sensible)

0 comments on commit 9bcc8f4

Please sign in to comment.