Sha256: 0d597608b3d43439afe7d493df6390d078b2b1b68671622f9ecfb456197fd257
Contents?: true
Size: 456 Bytes
Versions: 12
Compression:
Stored size: 456 Bytes
Contents
require 'spec_helper' describe "ActionController::Routing::Routes" do before(:each) do map_subdomain(:www, nil) { |www| www.root :controller => "homes", :action => "show" } end it "should know a list of its reserved subdomains" do ActionController::Routing::Routes.reserved_subdomains.should == [ "www", "" ] ActionController::Routing::Routes.clear! ActionController::Routing::Routes.reserved_subdomains.should be_empty end end
Version data entries
12 entries across 12 versions & 7 rubygems