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.27 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.26 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.25 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.24 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.23 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.22 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.21 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.20 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.19 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.18 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.17 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.16 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.14 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.13 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.12 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.11 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.10 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.9 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.8 test/rails_root/test/functional/feed_previews_controller_test.rb
muck-services-0.1.7 test/rails_root/test/functional/feed_previews_controller_test.rb