From c30155e9a17ffe7053a38342b85be3283e8c5580 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 10 Oct 2010 15:04:57 -0700 Subject: [PATCH] Remove outdated photo spec --- spec/models/photo_spec.rb | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/spec/models/photo_spec.rb b/spec/models/photo_spec.rb index 338e89933..a239ec1c4 100644 --- a/spec/models/photo_spec.rb +++ b/spec/models/photo_spec.rb @@ -85,25 +85,6 @@ describe Photo do end - describe 'with encryption' do - - before do - unstub_mocha_stubs - end - - after do - stub_signature_verification - end - - it 'should save a signed photo' do - pending "Figure out how to make the photo posting api work in specs, it needs a file type" - photo = @user.post(:photo, :album_id => @album.id, :user_file => [File.open(@fixture_name)]) - photo.save.should == true - photo.signature_valid?.should be true - end - - end - describe 'remote photos' do it 'should write the url on serialization' do @photo.image = File.open(@fixture_name)