Sha256: 7ef2ad1ab659d016afb6aec270a44402cdb438705708ab7454100feec87261f5

Contents?: true

Size: 683 Bytes

Versions: 4

Compression:

Stored size: 683 Bytes

Contents

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

# Re-raise errors caught by the controller.
class Admin::FeedbackController; def rescue_action(e) raise e end; end

class Admin::FeedbackControllerTest < Test::Unit::TestCase
  fixtures :contents, :users, :resources, :text_filters,
           :blogs, :articles_categories

  def setup
    @controller = Admin::FeedbackController.new
    @request    = ActionController::TestRequest.new
    @response   = ActionController::TestResponse.new
    @request.session = { :user => users(:tobi) }
  end

  def test_index
    get :index
    
    assert_success
    assert_rendered_file 'list'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typo-4.0.0 test/functional/admin/feedback_controller_test.rb
typo-4.0.2 test/functional/admin/feedback_controller_test.rb
typo-3.99.4 test/functional/admin/feedback_controller_test.rb
typo-4.0.1 test/functional/admin/feedback_controller_test.rb