Sha256: bec1418f10d1d8055c049488c82218021f30906708d0220ac2e9718572cc29a3
Contents?: true
Size: 479 Bytes
Versions: 26
Compression:
Stored size: 479 Bytes
Contents
require 'lib/usher' describe "Usher request method" do it "support eql? and ==" do Usher::Route::RequestMethod.new(:method, 'blah').should == Usher::Route::RequestMethod.new(:method, 'blah') Usher::Route::RequestMethod.new(:method, 'blah').should.eql?(Usher::Route::RequestMethod.new(:method, 'blah')) end it "support hash" do Usher::Route::RequestMethod.new(:method, 'blah').hash.should == (Usher::Route::RequestMethod.new(:method, 'blah')).hash end end
Version data entries
26 entries across 26 versions & 2 rubygems