Sha256: bc07a1a9a51482c8829f5eacb2422cecf235a242a65105de902c2c2154f4159e

Contents?: true

Size: 674 Bytes

Versions: 6

Compression:

Stored size: 674 Bytes

Contents

module Skellington
  describe CLI do
    let :subject do
      described_class.new
    end

    it 'generates correct output' do
      subject.options = { 'framework' => 'jekyll' }
      expect { subject.generate 'dummy-app' }.to output(/
Your new Jekyll site DummyApp has been created

\(Note that 'dummy-app' has been changed to 'dummy_app' because Ruby finds '-'s troubling\)

Now do

    cd dummy_app
    bundle
    bundle exec jekyll serve

which will launch the site \(at http:\/\/localhost:4000\/dummy-app\/\)

And presuming that works OK

    git add .
    git commit -m 'First commit'

You should also fill in your name in LICENSE.md
/).to_stdout
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
skellington-0.8.9 spec/jekyll/cli_spec.rb
skellington-0.8.8 spec/jekyll/cli_spec.rb
skellington-0.8.7 spec/jekyll/cli_spec.rb
skellington-0.8.6 spec/jekyll/cli_spec.rb
skellington-0.8.5 spec/jekyll/cli_spec.rb
skellington-0.8.4 spec/jekyll/cli_spec.rb