spec/github/users/get_spec.rb in github_api-0.8.11 vs spec/github/users/get_spec.rb in github_api-0.9.0

- old
+ new

@@ -22,17 +22,12 @@ it "should get the resources" do subject.get :user => user a_get(request_path).should have_been_made end - it "should return resource" do + it "should be a response wrapper" do user_resource = subject.get :user => user - user_resource.should be_a Hash - end - - it "should be a mash type" do - user_resource = subject.get :user => user - user_resource.should be_a Hashie::Mash + user_resource.should be_a Github::ResponseWrapper end it "should get org information" do user_resource = subject.get :user => user user_resource.login.should == 'octocat'