spec/github/issues/milestones/create_spec.rb in github_api-0.8.11 vs spec/github/issues/milestones/create_spec.rb in github_api-0.9.0
- old
+ new
@@ -38,10 +38,10 @@
a_post(request_path).with(inputs).should have_been_made
end
it "should return the resource" do
milestone = subject.create user, repo, inputs
- milestone.should be_a Hashie::Mash
+ milestone.should be_a Github::ResponseWrapper
end
it "should get the milestone information" do
milestone = subject.create user, repo, inputs
milestone.title.should == 'v1.0'