spec/github/activity/watching/watched_spec.rb in github_api-0.8.11 vs spec/github/activity/watching/watched_spec.rb in github_api-0.9.0
- old
+ new
@@ -38,10 +38,10 @@
should have_been_made
end
it "should return array of resources" do
watched = subject.watched
- watched.should be_an Array
+ watched.should be_an Enumerable
watched.should have(1).items
end
it "should get watched information" do
watched = subject.watched