Sha256: 67e62802e8fcfd09261a9ee34270e50014d92ea66823d4ddd0de23920cde7f04
Contents?: true
Size: 526 Bytes
Versions: 24
Compression:
Stored size: 526 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe Radiant::LegacyRoutes, :type => :helper do it "should warn about a deprecated route and pass through to the new route" do helper.should_receive(:warn) helper.should_receive(:admin_pages_url).and_return("http://test.host/admin/pages") helper.page_index_url.should == "http://test.host/admin/pages" end it "should warn about a removed route and return nil" do helper.should_receive(:warn) helper.clear_cache_url.should be_nil end end
Version data entries
24 entries across 24 versions & 4 rubygems