aboutsummaryrefslogtreecommitdiffhomepage
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/pronto/eslint_spec.rb2
-rw-r--r--spec/spec_helper.rb4
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
1require 'spec_helper' 3require 'spec_helper'
2 4
3module Pronto 5module 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
1require 'fileutils' 3require 'fileutils'
2require 'byebug' 4require 'byebug'
3require 'rspec' 5require 'rspec'
4require 'pronto/eslint_npm' 6require '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" }