spec/private/request_method_spec.rb in usher-0.5.6 vs spec/private/request_method_spec.rb in usher-0.5.7
- old
+ new
@@ -1,6 +1,7 @@
-require 'lib/usher'
+require File.expand_path(File.join(File.dirname(__FILE__), "..", "spec_helper"))
+require "usher"
describe "Usher request method" do
it "support eql? and ==" do
Usher::Route::RequestMethod.new(:method, 'blah').should == Usher::Route::RequestMethod.new(:method, 'blah')
@@ -10,6 +11,6 @@
it "support hash" do
Usher::Route::RequestMethod.new(:method, 'blah').hash.should == (Usher::Route::RequestMethod.new(:method, 'blah')).hash
end
-end
\ No newline at end of file
+end