OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/spec/routing/rb_impediments_routing_spec.rb

15 lines
842 B

require 'spec_helper'
describe RbImpedimentsController do
describe "routing" do
it { post('/projects/project_42/sprints/21/impediments').should route_to(:controller => 'rb_impediments',
:action => 'create',
:project_id => 'project_42',
:sprint_id => '21') }
it { put('/projects/project_42/sprints/21/impediments/85').should route_to(:controller => 'rb_impediments',
:action => 'update',
:project_id => 'project_42',
:sprint_id => '21',
:id => '85') }
end
end