RSpec Results

 

 

MapsController route generation
should map { :controller => 'Maps', :action => 'index' } to /Maps
should map { :controller => 'Maps', :action => 'new' } to /Maps/new
should map { :controller => 'Maps', :action => 'show', :id => 1 } to /Maps/1
should map { :controller => 'Maps', :action => 'edit', :id => 1 } to /Maps/1/edit
should map { :controller => 'Maps', :action => 'update', :id => 1} to /Maps/1
should map { :controller => 'Maps', :action => 'destroy', :id => 1} to /Maps/1
MapsController route recognition
should generate params { :controller => 'Maps', action => 'index' } from GET /Maps
should generate params { :controller => 'Maps', action => 'new' } from GET /Maps/new
should generate params { :controller => 'Maps', action => 'create' } from POST /Maps
should generate params { :controller => 'Maps', action => 'show', id => '1' } from GET /Maps/1
should generate params { :controller => 'Maps', action => 'edit', id => '1' } from GET /Maps/1;edit
should generate params { :controller => 'Maps', action => 'update', id => '1' } from PUT /Maps/1
should generate params { :controller => 'Maps', action => 'destroy', id => '1' } from DELETE /Maps/1
MapsController handling GET /Maps
should be successful
should render index template
should find all Maps
should assign the found Maps for the view
MapsController handling GET /Maps.xml
should be successful
should find all Maps
should render the found Maps as xml
MapsController handling GET /Maps/1
should be successful
should render show template
should find the Map requested
should assign the found Map for the view
MapsController handling GET /Maps/1.xml
should be successful
should find the Map requested
should render the found Map as xml
MapsController handling GET /Maps/new
should be successful
should render new template
should create an new Map
should not save the new Map
should assign the new Map for the view
MapsController handling GET /Maps/1/edit
should be successful
should render edit template
should find the Map requested
should assign the found Map for the view
MapsController handling POST /Maps with successful save
should create a new Map
should redirect to the new Map
MapsController handling POST /Maps with failed save
should re-render 'new'
MapsController handling PUT /Maps/1 with successful update
should find the Map requested
should update the found Map
should assign the found Map for the view
should redirect to the Map
MapsController handling PUT /Maps/1 with failed update
should re-render 'edit'
MapsController handling DELETE /Maps/1
should find the Map requested
should call destroy on the found Map
should redirect to the Maps list
Map
should be valid
should require title
should have error on title (alternative)
should have error on title (alternative with nil)
should have error on title (only)
MapsHelper
should include the MapHelper
/Maps/show.html.erb
should render attributes in <p>
/Maps/edit.html.erb
should render edit form
/Maps/index.html.erb
should render list of Maps
/Maps/new.html.erb
should render new form