Welcome to mirror list, hosted at ThFree Co, Russian Federation.

photos_controller_spec.rb « activity_streams « controllers « spec - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d088c5b9c71206b80e31027cf70f80821491998e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'spec_helper'

describe ActivityStreams::PhotosController do
  describe '#show' do
    before do
      @photo = Factory(:activity_streams_photo, :author => bob.person)
      sign_in :user, alice
    end
    it 'succeeds' do
      get :show, :id => @photo.id
      response.should be_success
    end
  end
end