Sha256: 9d6e8da834830189a5f64dc2497daad10dd1d70395b852dac97bbcd8ae70a15e
Contents?: true
Size: 462 Bytes
Versions: 18
Compression:
Stored size: 462 Bytes
Contents
require "spec_helper" describe Schematic::Serializers::Xsd do describe "schematic#ignore keyword" do with_model :some_model do table :id => false do |t| t.string :title end model do schematic do ignore :title end end end it "should exclude the methods" do xsd = generate_xsd_for_model(SomeModel) do end sanitize_xml(SomeModel.to_xsd).should eq(xsd) end end end
Version data entries
18 entries across 18 versions & 1 rubygems