diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/pronto/eslint_spec.rb | 2 | ||||
-rw-r--r-- | spec/spec_helper.rb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/spec/pronto/eslint_spec.rb b/spec/pronto/eslint_spec.rb index b0b9c22..52e52f2 100644 --- a/spec/pronto/eslint_spec.rb +++ b/spec/pronto/eslint_spec.rb | |||
@@ -1,3 +1,5 @@ | |||
1 | # frozen_string_literal: true | ||
2 | |||
1 | require 'spec_helper' | 3 | require 'spec_helper' |
2 | 4 | ||
3 | module Pronto | 5 | module Pronto |
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c13fe98..b3d8596 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb | |||
@@ -1,9 +1,11 @@ | |||
1 | # frozen_string_literal: true | ||
2 | |||
1 | require 'fileutils' | 3 | require 'fileutils' |
2 | require 'byebug' | 4 | require 'byebug' |
3 | require 'rspec' | 5 | require 'rspec' |
4 | require 'pronto/eslint_npm' | 6 | require 'pronto/eslint_npm' |
5 | 7 | ||
6 | %w(test eslintignore).each do |repo_name| | 8 | %w[test eslintignore].each do |repo_name| |
7 | RSpec.shared_context "#{repo_name} repo" do | 9 | RSpec.shared_context "#{repo_name} repo" do |
8 | let(:git) { "spec/fixtures/#{repo_name}.git/git" } | 10 | let(:git) { "spec/fixtures/#{repo_name}.git/git" } |
9 | let(:dot_git) { "spec/fixtures/#{repo_name}.git/.git" } | 11 | let(:dot_git) { "spec/fixtures/#{repo_name}.git/.git" } |