Sha256: 7324f1db135eb2514b28f5e2d23a278383fe5c70a277415dac28f1bd62e93ba4
Contents?: true
Size: 744 Bytes
Versions: 6
Compression:
Stored size: 744 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_RSS_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
6 entries across 6 versions & 1 rubygems