spec/rack_spec.rb in appengine-tools-0.0.11 vs spec/rack_spec.rb in appengine-tools-0.0.12
- old
+ new
@@ -20,10 +20,10 @@
describe AppEngine::Rack 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(AppEngine::Rack.app.to_xml)
xml.should == IO.read("#{File.dirname(__FILE__)}/appengine-web.xml")
end
\ No newline at end of file