Commits

Toshi MARUYAMA committed c1f1f74

test: route: add time entries context menus test

Comments (0)

Files changed (1)

test/integration/routing/context_menus_test.rb

 require File.expand_path('../../../test_helper', __FILE__)
 
 class RoutingContextMenusTest < ActionController::IntegrationTest
-  def test_context_menus
+  def test_context_menus_time_entries
+    ["get", "post"].each do |method|
+      assert_routing(
+          { :method => method, :path => "/time_entries/context_menu" },
+          { :controller => 'context_menus', :action => 'time_entries' }
+        )
+    end
+  end
+
+  def test_context_menus_issues
     ["get", "post"].each do |method|
       assert_routing(
           { :method => method, :path => "/issues/context_menu" },