Sha256: 2666a7bb2e4b03c586f90659aa6ebd84db29a0d6a66016d8189ada642e739a79
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "helper") class SavonMashTest < Test::Unit::TestCase context "Creating a new Savon::Mash" do context "with a simple Hash" do should "return a Mash object matching the given Hash" do hash = { :some => { :simple => "test" } } mash = Savon::Mash.new(hash) assert_respond_to(mash, :some) assert_respond_to(mash, :simple) assert_equal "test", mash.some.simple end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
smacks-savon-0.1.0 | test/savon/mash_test.rb |
smacks-savon-0.1.1 | test/savon/mash_test.rb |