Sha256: 93ad79f359ab4d76c189bb78f5d28bfa96204b043b676495f8f9b145116048cc
Contents?: true
Size: 351 Bytes
Versions: 13
Compression:
Stored size: 351 Bytes
Contents
require File.join(File.dirname(__FILE__), 'compat') require 'lib/usher' route_set = Usher::Interface.for(:rails2) describe "Usher (for rails) 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
13 entries across 13 versions & 1 rubygems