fixed issue in attack_vectors_spec
This commit is contained in:
parent
6ccf8a4d2d
commit
1fa39ad20d
1 changed files with 1 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ require 'spec_helper'
|
||||||
|
|
||||||
describe "attack vectors" do
|
describe "attack vectors" do
|
||||||
|
|
||||||
let(:user) { alice }
|
let(:user) { Factory.create(:user_with_aspect) }
|
||||||
let(:aspect) { user.aspects.first }
|
let(:aspect) { user.aspects.first }
|
||||||
|
|
||||||
let(:bad_user) { Factory.create(:user)}
|
let(:bad_user) { Factory.create(:user)}
|
||||||
|
|
@ -207,7 +207,6 @@ describe "attack vectors" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'does not let me update other persons post' do
|
it 'does not let me update other persons post' do
|
||||||
pending "this needs to be a photo"
|
|
||||||
original_message = user2.post(:photo, :user_file => uploaded_photo, :caption => "store this!", :to => aspect2.id)
|
original_message = user2.post(:photo, :user_file => uploaded_photo, :caption => "store this!", :to => aspect2.id)
|
||||||
|
|
||||||
salmon_xml = user2.salmon(original_message).xml_for(user.person)
|
salmon_xml = user2.salmon(original_message).xml_for(user.person)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue