Sha256: 52f46ad5247245d3df7216f7d36acd45a560a62de529b1b10fa8d5471e2a6a79

Contents?: true

Size: 740 Bytes

Versions: 82

Compression:

Stored size: 740 Bytes

Contents

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

class Muck::FeedPreviewsControllerTest < ActionController::TestCase

  tests Muck::FeedPreviewsController

  context "feed previews controller" do

    context "GET new" do
      setup do
        get :new
      end
      should_not_set_the_flash
      should_respond_with :success
      should_render_template :new
    end

    context "POST to select_feeds" do
      setup do
        post :select_feeds, :feed => { :uri => TEST_URI }
      end          
      should_not_set_the_flash
      should_respond_with :success
      should_render_template :select_feeds
      should "return feeds for the given uri" do
        assert assigns(:feeds).length > 0
      end
    end
    
  end

end

Version data entries

82 entries across 82 versions & 2 rubygems

Version Path
muck-services-0.1.47 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.46 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.45 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.44 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.43 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.42 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.41 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.40 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.39 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.38 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.37 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.36 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.35 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.34 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.33 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.32 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.31 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.30 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.29 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.28 test/rails_root/test/functional/feed_previews_controller_test.rb