spec/github/repos/merging/merge_spec.rb in github_api-0.8.11 vs spec/github/repos/merging/merge_spec.rb in github_api-0.9.0
- old
+ new
@@ -40,10 +40,10 @@
a_post(request_path).with(inputs).should have_been_made
end
it "should return the resource" do
merge = subject.merge user, repo, inputs
- merge.should be_a Hashie::Mash
+ merge.should be_a Github::ResponseWrapper
end
it "should get the commit comment information" do
merge = subject.merge user, repo, inputs
merge.commit.author.login.should == 'octocat'