Sha256: af351c47b2ab35197ab01b96b76d1a5b616785b5c878131aea426dbcc52ede97
Contents?: true
Size: 763 Bytes
Versions: 5
Compression:
Stored size: 763 Bytes
Contents
module Skellington describe CLI do let :subject do described_class.new end it 'generates a default layout' do subject.generate 'dummy_app' expect('dummy_app/views/default.erb').to have_content ( """ <!DOCTYPE html> <html lang='en'> /erb.*'includes/header'/ <body> /erb.*'includes/github-corner' if @github_url/ <div class='container'> <div class='row'> <div class='col-md-2'></div> <div class='col-md-8'> <%= yield %> </div> <div class='col-md-2'></div> </div> </div> /erb.*:'includes/footer'/ </body> </html> """ ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems