Created
November 3, 2011 19:58
-
-
Save dwaynemac/1337612 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In CONTACTS WS | |
# V0::ContactsController | |
# POST create | |
# if it recieves image | |
# should store it on amazon and link it to contact | |
# PUT update | |
# if it recieves image | |
# should store it on amazon and link it to contact | |
# should delete previous image | |
# DELETE destroy | |
# if contact has an image | |
# image should be deleted from amazon | |
describe V0::ContactsController do | |
describe "POST create" do | |
context "if it recieves image" do | |
it "should store it on amazon and link it to contact" | |
end | |
end | |
describe "PUT update" do | |
context "if it recieves image" do | |
it "should store it on amazon and link it to contact" | |
it "should delete previous image" | |
end | |
end | |
describe "DELETE destroy" do | |
context "if contact has an image" do | |
it "should be deleted from amazon" | |
end | |
end | |
end | |
# In CRM | |
# ContactsController | |
# POST create | |
# if it recieves image | |
# should store it on contact | |
# PUT update | |
# if it recieves image | |
# should link it to contact | |
# should delete previous image | |
# DELETE destroy | |
# if contact has an image | |
# image should be deleted from amazon | |
describe ContactsController do | |
describe "POST create" do | |
context "if it recieves image" do | |
it "should store it on contacts" | |
end | |
end | |
describe "PUT update" do | |
context "if it recieves image" | |
it "should link it to contact" | |
it "should delete previous image" | |
end | |
end | |
describe "DELETE destroy" do | |
context "if contact has an image" | |
it "should delete image" | |
end | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment