From 0ee34f8590df6e2fce3fecf5b484af6eaa6f8524 Mon Sep 17 00:00:00 2001 From: cmrd Senya Date: Mon, 11 Jul 2016 15:11:15 +0000 Subject: [PATCH] Remove the photo comment spec This functionality is not something we support and it doesn't look it will be reintroduced soon. see discussion https://github.com/diaspora/diaspora/pull/6818#discussion_r70227392 --- spec/models/photo_spec.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/models/photo_spec.rb b/spec/models/photo_spec.rb index 1d3ee559d..470f95a58 100644 --- a/spec/models/photo_spec.rb +++ b/spec/models/photo_spec.rb @@ -203,12 +203,6 @@ describe Photo, :type => :model do end end - context "commenting" do - it "accepts comments if there is no parent status message" do - expect{ @user.comment!(@photo, "big willy style") }.to change(@photo.comments, :count).by(1) - end - end - describe '#queue_processing_job' do it 'should queue a job to process the images' do expect(Workers::ProcessPhoto).to receive(:perform_async).with(@photo.id)