view extra/sample_plugin/test/integration/routing_test.rb @ 1422:c97b3b9b5c86 biblio_alt_search_auth

changed form_builder - labelled_form_for was not generating validad HTML5 markup.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 02 Oct 2013 16:44:26 +0100
parents 433d4f72a19b
children 622f24f53b42
line wrap: on
line source

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

class SamplePluginRoutingTest < ActionController::IntegrationTest
  def test_example
    assert_routing(
        { :method => 'get', :path => "/projects/1234/hello" },
        { :controller => 'example', :action => 'say_hello',
          :id => '1234' }
      )
  end
end