spec/private/rack/dispatch_spec.rb in joshbuddy-usher-0.5.6 vs spec/private/rack/dispatch_spec.rb in joshbuddy-usher-0.5.7
- old
+ new
@@ -1,8 +1,8 @@
-require 'lib/usher'
+require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "spec_helper"))
+require "usher"
require 'rack'
-require File.join(File.dirname(__FILE__), "..", "..", "spec_helper")
route_set = Usher::Interface.for(:rack)
route_set.extend(CallWithMockRequestMixin)
describe "Usher (for rack) route dispatching" do
before(:each) do