Sha256: 131b5b80f886d1551a07d92ac37e0676fbf4a6feb41c3286a3f29c012e56aac7
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "match_resonse Matcher" do it "should match hashes" do {:a => "b"}.should match_response({"a" => ":test"}) end it "should match paths within hashes" do {:a => {:b => "/test/test"}}.should match_response({"a" =>{"b" => "/:a/:b"}}) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hash_dealer-1.1.3 | spec/lib/matcher_spec.rb |
hash_dealer-1.1.2 | spec/lib/matcher_spec.rb |
hash_dealer-1.1.0 | spec/lib/matcher_spec.rb |
hash_dealer-1.0.1 | spec/lib/matcher_spec.rb |