forked from bofh/fetsite
a lot of new models ...
Fotogallary, gremien, fetprofil,
This commit is contained in:
35
spec/routing/fetprofiles_routing_spec.rb
Normal file
35
spec/routing/fetprofiles_routing_spec.rb
Normal file
@@ -0,0 +1,35 @@
|
||||
require "spec_helper"
|
||||
|
||||
describe FetprofilesController do
|
||||
describe "routing" do
|
||||
|
||||
it "routes to #index" do
|
||||
get("/fetprofiles").should route_to("fetprofiles#index")
|
||||
end
|
||||
|
||||
it "routes to #new" do
|
||||
get("/fetprofiles/new").should route_to("fetprofiles#new")
|
||||
end
|
||||
|
||||
it "routes to #show" do
|
||||
get("/fetprofiles/1").should route_to("fetprofiles#show", :id => "1")
|
||||
end
|
||||
|
||||
it "routes to #edit" do
|
||||
get("/fetprofiles/1/edit").should route_to("fetprofiles#edit", :id => "1")
|
||||
end
|
||||
|
||||
it "routes to #create" do
|
||||
post("/fetprofiles").should route_to("fetprofiles#create")
|
||||
end
|
||||
|
||||
it "routes to #update" do
|
||||
put("/fetprofiles/1").should route_to("fetprofiles#update", :id => "1")
|
||||
end
|
||||
|
||||
it "routes to #destroy" do
|
||||
delete("/fetprofiles/1").should route_to("fetprofiles#destroy", :id => "1")
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user