Sha256: a029c3c062541d89b8ea8b82c35dc27473ff74297ca703e58331a1c2acfb580c
Contents?: true
Size: 458 Bytes
Versions: 11
Compression:
Stored size: 458 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "spec_helper")) require File.expand_path(File.join(File.dirname(__FILE__), 'compat')) require "usher" route_set = Usher::Interface.for(:rails22) describe "Usher (for rails 2.2) route adding" do before(:each) do route_set.reset! end it "shouldn't allow routes without a controller to be added" do proc { route_set.add_route('/bad/route') }.should raise_error end end
Version data entries
11 entries across 11 versions & 1 rubygems