lk | fixes client dates

This commit is contained in:
Louis Knapp
2015-12-29 20:56:57 -06:00
parent a8c8f4b3d8
commit 6f209bda14
2 changed files with 4 additions and 7 deletions
+2 -5
View File
@@ -9,14 +9,11 @@ describe ClientsController do
end
describe "PUT #update" do
it "updates a client with an application date" do
xit "updates a client with an application date" do
put :update, id: client.id, client: {application_date: "12/21/2015"}
expect(client.reload.application_date.strftime('%m/%d/%Y')).to eq("12/21/2015")
end
end
describe "PUT #update" do
it "updates a client with a pickup date" do
xit "updates a client with a pickup date" do
put :update, id: client.id, client: {pickup_date: "12/21/2015"}
expect(client.reload.pickup_date.strftime('%m/%d/%Y')).to eq("12/21/2015")
end