spec/github/repos/languages_spec.rb in github_api-0.8.11 vs spec/github/repos/languages_spec.rb in github_api-0.9.0
- old
+ new
@@ -31,10 +31,10 @@
a_get(request_path).should have_been_made
end
it "should return hash of languages" do
languages = subject.languages user, repo
- languages.should be_an Hash
+ languages.should be_an Github::ResponseWrapper
languages.should have(2).keys
end
it "should get language information" do
languages = subject.languages user, repo