files_routing_spec.rb revision ef1f1ad3d88023d93475dfdce00bd9f230917660
98N/A #it { should route(:get, 'repopath/some/path' ).to(repository_id: 'repopath', action: :files, path: 'some/path') }
919N/A it { should route(:get, 'repositories/repopath/files/new' ).to(repository_id: 'repopath', action: :new ) }
919N/A it { should route(:post, 'repositories/repopath/files' ).to(repository_id: 'repopath', action: :create ) }
919N/A it { should route(:get, 'repositories/repopath/12ab/action' ).to(repository_id: 'repopath', action: :action, ref: '12ab' ) }