Sha256: 78cde02766d5ff7164d381f89abde4cecec6dd9b9a201916dd12087ea8435809

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

shared_examples 'uses gitignore' do
  context do
    it do
      application_controller_file = content('.gitignore')
      expect(application_controller_file).to match('.DS_Store')
      expect(application_controller_file).to match('.secret')
      expect(application_controller_file).to match('.env')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cybele-2.3.2 spec/support/shared_examples/git_ignore_test_helper.rb
cybele-2.3.1 spec/support/shared_examples/git_ignore_test_helper.rb
cybele-2.2.0 spec/support/shared_examples/git_ignore_test_helper.rb