Sha256: d81cffebd60ebeea2fd88622e17af7a5c628c2e9e1fb9ba2b42cb67b37ad1f0c

Contents?: true

Size: 634 Bytes

Versions: 2

Compression:

Stored size: 634 Bytes

Contents

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

    it 'generates a Code of Conduct' do
      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/sinatra/root_files/code-of-conduct_spec.rb
skellington-0.8.8 spec/sinatra/root_files/code-of-conduct_spec.rb