Sha256: 959c5246e2a59c860629373dd7bbab7a3437fae49c604d139f1abb83f635f404

Contents?: true

Size: 665 Bytes

Versions: 25

Compression:

Stored size: 665 Bytes

Contents

require 'spec_helper'

describe ExploreController do
  render_views

  describe 'explore' do
    it "should render" do
      get :index

      response.should be_success
    end
  end

  describe 'participants' do
    it "should render" do
      get :index, section: :participants

      response.should be_success
    end
  end

  describe 'resources' do
    it "should render" do
      get :index, section: :resources

      response.should be_success
    end
  end

  describe 'timeline' do
    before do
      Factory(:public_activity)
    end

    it "should render" do
      get :index, section: 'timeline'

      response.should be_success
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/spec/controllers/explore_controller_spec.rb
social_stream-base-2.2.2 spec/controllers/explore_controller_spec.rb
social_stream-2.2.1 base/spec/controllers/explore_controller_spec.rb
social_stream-base-2.2.1 spec/controllers/explore_controller_spec.rb
social_stream-2.2.0 base/spec/controllers/explore_controller_spec.rb
social_stream-base-2.2.0 spec/controllers/explore_controller_spec.rb
social_stream-2.1.1 base/spec/controllers/explore_controller_spec.rb
social_stream-2.1.0 base/spec/controllers/explore_controller_spec.rb
social_stream-base-2.1.0 spec/controllers/explore_controller_spec.rb
social_stream-2.0.4 base/spec/controllers/explore_controller_spec.rb
social_stream-base-2.0.4 spec/controllers/explore_controller_spec.rb
social_stream-2.0.3 base/spec/controllers/explore_controller_spec.rb
social_stream-base-2.0.3 spec/controllers/explore_controller_spec.rb
social_stream-2.0.2 base/spec/controllers/explore_controller_spec.rb
social_stream-base-2.0.2 spec/controllers/explore_controller_spec.rb
social_stream-2.0.1 base/spec/controllers/explore_controller_spec.rb
social_stream-base-2.0.1 spec/controllers/explore_controller_spec.rb
social_stream-2.0.0 base/spec/controllers/explore_controller_spec.rb
social_stream-base-2.0.0 spec/controllers/explore_controller_spec.rb
social_stream-2.0.0.beta3 base/spec/controllers/explore_controller_spec.rb