diff --git a/spec/cases/client_spec.rb b/spec/cases/client_spec.rb index 79cfd5f5..2fe7852a 100644 --- a/spec/cases/client_spec.rb +++ b/spec/cases/client_spec.rb @@ -148,7 +148,7 @@ it "should post to a user's network stream" do stub_post("/v1/people/~/person-activities", "blank.xml") - client.update_network("Testing out the LinkedIn API").code.should == "200" + client.update_network("Testing out the LinkedIn API").code.should == "201" end it "should clear a user's current status" do @@ -189,7 +189,7 @@ subject = "Congratulations on your new position." body = "You're certainly the best person for the job!" - client.send_message(subject, body, recipients).should == "200" + client.send_message(subject, body, recipients).should == "201" end end