spec/web-xml_spec.rb in appengine-tools-0.0.11 vs spec/web-xml_spec.rb in appengine-tools-0.0.12
- old
+ new
@@ -19,10 +19,10 @@
describe WebXmlBuilder do
it "should generate correct xml" do
rackup = IO.read("#{File.dirname(__FILE__)}/config.ru")
builder = WebXmlBuilder.new do
- add_jruby_rack_defaults('rackup')
+ add_jruby_rack_defaults
eval rackup, nil, "#{File.dirname(__FILE__)}/config.ru", 1
end
xml = AppEngine::Rack::XmlFormatter.format(builder.to_xml)
xml.should == IO.read("#{File.dirname(__FILE__)}/web.xml")
end
\ No newline at end of file