-
Notifications
You must be signed in to change notification settings - Fork 0
Xml validation rspec matcher
License
joho/rspec_xml_validation_matchers
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
rspec_xml_validation_matchers ============================= Setup ------ Dependencies: ------------- * rspec * rspec_on_rails * libxml Overview -------- Adds some matchers to check if some xml conforms to a dtd/xsd Usage ----- describe User do before do @user = User.new end it "should create xml that conforms to the dtd" do @user.to_xml.should conform_to_dtd('user.dtd') end it "should create xml that conforms to the xsd" do @user.to_xml.should conform_to_dtd('user.xsd') end end Developer --------- John Barton - http://whoisjohnbarton.com c/o Eden Creative Communities - http://eden.cc
About
Xml validation rspec matcher
Resources
License
Stars
Watchers
Forks
Releases
No releases published