Sha256: 91d36f9a4a2abc9fc01b6bb5a1538d1489c432468cb2c9a01664feddade5befe

Contents?: true

Size: 649 Bytes

Versions: 6

Compression:

Stored size: 649 Bytes

Contents

require File.join(File.dirname(__FILE__), 'helpers', 'test_helper')
require File.join(File.dirname(__FILE__), 'helpers', 'functional_test_helper')

ActionController::Routing::Routes.draw do |map|
  map.connect ':controller/:action/:id'
end

class RailsIntegrationFunctionalTest < Test::Unit::TestCase
  fixtures :all
  
  def setup    
    @controller = NotesController.new()
    @controller.request = @request = ActionController::TestRequest.new
    @response = ActionController::TestResponse.new    
  end

  # def test_render_with_an_empty_params_hash_should_not_blow_up
  #   get :empty_params_action
  #   assert_response :success
  # end

end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
dima-restfulx-1.2.0 test/rails/test_rails_integration_functional.rb
dima-restfulx-1.2.1 test/rails/test_rails_integration_functional.rb
dima-restfulx-1.2.2 test/rails/test_rails_integration_functional.rb
restfulx-1.2.1 test/rails/test_rails_integration_functional.rb
restfulx-1.2.0 test/rails/test_rails_integration_functional.rb
restfulx-1.2.2 test/rails/test_rails_integration_functional.rb