Adds work package move route specs

pull/294/head
Hagen Schink 11 years ago
parent a6811b7d06
commit 8d6734a01a
  1. 11
      spec/routing/work_packages_spec.rb

@ -37,4 +37,15 @@ describe WorkPackagesController do
:project_id => '1' )
end
it "should connect GET /work_packages/moves/:work_package_id to work_packages/moves#new" do
get("/work_packages/1/moves/new").should route_to( :controller => 'work_packages/moves',
:action => 'new',
:work_package_id => '1' )
end
it "should connect POST /work_packages/moves/:work_package_id to work_packages/moves#create" do
post("/work_packages/1/moves/").should route_to( :controller => 'work_packages/moves',
:action => 'create',
:work_package_id => '1' )
end
end

Loading…
Cancel
Save