Sha256: 466522b176927ef6dea2b30a9fe5168a00a7a365129bb984f470a35fba3edb24

Contents?: true

Size: 686 Bytes

Versions: 2

Compression:

Stored size: 686 Bytes

Contents

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

    it 'generates a Code of Conduct' do
      subject.options = { 'framework' => 'jekyll' }
      subject.generate 'dummy-app'
      expect('dummy_app/CODE_OF_CONDUCT.md').to have_content (
      """
      # Contributor Code of Conduct

      As contributors and maintainers of this project, and in the interest of
      fostering an open and welcoming community, we pledge to respect all people who
      contribute through reporting issues, posting feature requests, updating
      documentation, submitting pull requests or patches, and other activities.
      """
      )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
skellington-0.8.9 spec/jekyll/root_files/code-of-conduct_spec.rb
skellington-0.8.8 spec/jekyll/root_files/code-of-conduct_spec.rb