Sha256: 7224161bd738f243ebcff0e2ae6932411c450057cce61a369cdc739ddd37d9ad
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe Admin::PeopleController do describe 'routing' do it "should map the consolidate path" do route_for(:controller => "admin/people", :action => "consolidate").should == "/admin/people/consolidate" end it "should map the path to the action" do params_from(:get, "/admin/people/consolidate").should == {:controller => "admin/people", :action => "consolidate"} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
radiant-people-extension-1.1.0 | spec/controllers/admin/people_controller_spec.rb |
radiant-people-extension-1.0.0 | spec/controllers/admin/people_controller_spec.rb |