Sha256: 341412e438ad2cb2e74268fee855742b7cb79f22d664f5c085657808e09b2715

Contents?: true

Size: 1.6 KB

Versions: 22

Compression:

Stored size: 1.6 KB

Contents

require File.dirname(__FILE__) + '/../test_helper'

class DefaultControllerTest < ActionController::TestCase

  tests DefaultController

  context "topics controller" do

    setup do
      @feed = Factory(:feed, :uri => TEST_RSS_URI, :display_uri => TEST_URI)
    end
    
    context "GET google_search" do
      setup do
        get :google_search
      end
      should_not_set_the_flash
      should_respond_with :success
      should_render_template :google_search
    end
    
    context "GET google_feeds" do
      setup do
        get :google_feeds
      end
      should_not_set_the_flash
      should_respond_with :success
      should_render_template :google_feeds
    end
    
    context "GET google_combined_feeds" do
      setup do
        get :google_combined_feeds
      end
      should_not_set_the_flash
      should_respond_with :success
      should_render_template :google_combined_feeds
    end
    
    context "GET google_dynamic_feeds_vertical" do
      setup do
        get :google_dynamic_feeds_vertical
      end
      should_not_set_the_flash
      should_respond_with :success
      should_render_template :google_dynamic_feeds_vertical
    end
    
    context "GET google_feed_search" do
      setup do
        get :google_feed_search
      end
      should_not_set_the_flash
      should_respond_with :success
      should_render_template :google_feed_search
    end
    
    context "GET google_slide_show" do
      setup do
        get :google_slide_show
      end
      should_not_set_the_flash
      should_respond_with :success
      should_render_template :google_slide_show
    end
    
  end
  
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
overlord-0.1.22 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.21 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.20 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.19 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.18 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.17 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.16 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.15 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.14 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.13 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.12 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.11 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.10 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.9 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.8 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.7 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.6 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.5 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.4 test/rails_root/test/functional/default_controller_test.rb
overlord-0.1.3 test/rails_root/test/functional/default_controller_test.rb