Skip to content

Instantly share code, notes, and snippets.

@andyt
Created July 3, 2014 15:09
Show Gist options
  • Save andyt/8081f39b985ee49ba292 to your computer and use it in GitHub Desktop.
Save andyt/8081f39b985ee49ba292 to your computer and use it in GitHub Desktop.
Parse config.ru
require 'rack'
describe 'config.ru' do
it 'should parse' do
expect do
Rack::Builder.parse_file(File.expand_path('../../../config.ru', __FILE__))
end.not_to raise_error
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment