spec/jekyll/git_spec.rb in skellington-0.8.9 vs spec/jekyll/git_spec.rb in skellington-0.9.0.pre.rc1
- old
+ new
@@ -1,20 +1,22 @@
module Skellington
describe CLI do
- let :subject do
- described_class.new
- end
+ context 'jekyll' do
+ let :subject do
+ described_class.new
+ end
- it 'initialises a git repo' do
- subject.options = { 'framework' => 'jekyll' }
- subject.generate 'dummy-app'
- expect(Dir).to exist 'dummy_app/.git'
+ it 'initialises a git repo' do
+ subject.options = { 'framework' => 'jekyll' }
+ subject.generate 'dummy-app'
+ expect(Dir).to exist 'dummy_app/.git'
- expect('dummy_app/.gitignore').to have_content (
- """
- _site/
- .sass-cache
- """
- )
+ expect('dummy_app/.gitignore').to have_content (
+ """
+ _site/
+ .sass-cache
+ """
+ )
+ end
end
end
end