Sha256: 91fd575f01b9c7fceb2e3c35061e4344e793df1a649e6201eb2317a84cf5edeb
Contents?: true
Size: 357 Bytes
Versions: 18
Compression:
Stored size: 357 Bytes
Contents
require File.join(File.dirname(__FILE__), 'compat') require 'lib/usher' route_set = Usher::Interface.for(:rails2_3) describe "Usher (for rails 2.3) 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
18 entries across 18 versions & 2 rubygems