Sha256: d332c47d964d347cfdaf5530d4837ffeb042ece37c573ee07bbe98e73bf6d21d
Contents?: true
Size: 875 Bytes
Versions: 3
Compression:
Stored size: 875 Bytes
Contents
# frozen_string_literal: true shared_examples 'uses pronto' do context do it do gemfile_file = content('Gemfile') pronto_gems.each do |gem| expect(gemfile_file).to match(gem) end file_exist_test( %w[ example.pronto.yml .pronto.yml .haml-lint.yml .erb-lint.yml .rubocop.yml bin/rubo ] ) pronto_gitignore_test end def pronto_gems [ "gem 'pronto'", "gem 'pronto-brakeman'", "gem 'pronto-erb_lint'", "gem 'pronto-fasterer'", "gem 'pronto-flay'", "gem 'pronto-haml'", "gem 'pronto-poper'", "gem 'pronto-rubocop'" ] end def pronto_gitignore_test gemfile_file = content('.gitignore') expect(gemfile_file).to match('.pronto.yml') end end end
Version data entries
3 entries across 3 versions & 1 rubygems