spec/github/orgs/teams/edit_spec.rb in github_api-0.8.11 vs spec/github/orgs/teams/edit_spec.rb in github_api-0.9.0
- old
+ new
@@ -39,10 +39,10 @@
a_patch(request_path).with(inputs).should have_been_made
end
it "should return the resource" do
edited_team = subject.edit team, inputs
- edited_team.should be_a Hashie::Mash
+ edited_team.should be_a Github::ResponseWrapper
end
it "should get the team information" do
edited_team = subject.edit team, inputs
edited_team.name.should == 'Owners'