require 'minitest/spec' require 'minitest/autorun' require_relative 'project/controller' describe Rail::Application do it 'handles uncompressed Haml assets' do controller = Controller.new do config.compress = false end body = controller.process('/') assert_equal body.strip, <<-BODY.strip