When /^I post a photo with a token$/ do json = JSON.parse < @me.authentication_token)) end Then /^I should see an uploaded image within the photo drop zone$/ do find("#photodropzone img")["src"].should include("uploads/images") end