repository_directories_routing_spec.rb revision 1dc4b347882e22db6d12af621d7db12e219655f5
require 'spec_helper'
describe 'RepositoryDirectories Routing' do
it { should route(:get, 'repositories/repopath/repository_directories/new').
to(controller: 'repository_directories', action: :new, repository_id: 'repopath' ) }
it { should route(:post, 'repositories/repopath/repository_directories').
to(controller: 'repository_directories', action: :create, repository_id: 'repopath' ) }
end