module Skellington describe CLI do let :subject do described_class.new end it 'generates an app file' do subject.generate 'dummy_app' expect('dummy_app/lib/dummy_app.rb').to have_content ( """ require 'sinatra/base' require 'tilt/erubis' require 'json' require 'yaml' require_relative 'dummy_app/helpers' require_relative 'dummy_app/racks' module DummyApp class App < Sinatra::Base helpers do include DummyApp::Helpers end get '/' do headers 'Vary' => 'Accept' respond_to do |wants| wants.html do @content = '