@@ -1,12 +1,12 | |||||
1 |
|
1 | |||
2 | require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper') |
|
2 | require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper') | |
3 |
|
3 | |||
4 |
class SamplePluginRoutingTest < Action |
|
4 | class SamplePluginRoutingTest < ActionDispatch::IntegrationTest | |
5 | def test_example |
|
5 | def test_example | |
6 | assert_routing( |
|
6 | assert_routing( | |
7 | { :method => 'get', :path => "/projects/1234/hello" }, |
|
7 | { :method => 'get', :path => "/projects/1234/hello" }, | |
8 | { :controller => 'example', :action => 'say_hello', |
|
8 | { :controller => 'example', :action => 'say_hello', | |
9 | :id => '1234' } |
|
9 | :id => '1234' } | |
10 | ) |
|
10 | ) | |
11 | end |
|
11 | end | |
12 | end |
|
12 | end |
General Comments 0
You need to be logged in to leave comments.
Login now