Logo
Explore Help
Register Sign In
Nemcio/Redmine
1
0
Fork 0
You've already forked Redmine
mirror of https://github.com/redmine/redmine.git synced 2025-11-08 14:26:04 +01:00
Code Issues Packages Projects Releases Activity
Files
2bc72f18231e01474672a96f45d21448b399ac63
Redmine/extra/sample_plugin/test/integration/routing_test.rb

12 lines
319 B
Ruby
Raw Normal View History

Use `require_relative` instead of `require File.expand_path(..., __FILE__)` (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
require_relative '../../../../test/test_helper'
add routing test to sample plugin git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 16:22:04 +00:00
ActionController::IntegrationTest is ActionDispatch::IntegrationTest. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-22 18:28:58 +00:00
class SamplePluginRoutingTest < ActionDispatch::IntegrationTest
add routing test to sample plugin git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 16:22:04 +00:00
def test_example
assert_routing(
{ :method => 'get', :path => "/projects/1234/hello" },
{ :controller => 'example', :action => 'say_hello',
:id => '1234' }
)
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 182ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API