spec/github/issues/comments/edit_spec.rb in github_api-0.8.11 vs spec/github/issues/comments/edit_spec.rb in github_api-0.9.0
- old
+ new
@@ -32,10 +32,10 @@
a_patch(request_path).with(inputs).should have_been_made
end
it "should return the resource" do
comment = subject.edit user, repo, comment_id, inputs
- comment.should be_a Hashie::Mash
+ comment.should be_a Github::ResponseWrapper
end
it "should get the comment information" do
comment = subject.edit user, repo, comment_id, inputs
comment.user.login.should == 'octocat'