From 0ab4d181c9d2e1ad9e3d4028223f947599781351 Mon Sep 17 00:00:00 2001 From: Markus Doits Date: Fri, 30 Mar 2018 19:20:57 +0200 Subject: update locally used ruby versiob, lint everything --- spec/pronto/eslint_spec.rb | 2 ++ spec/spec_helper.rb | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'spec') 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 @@ +# frozen_string_literal: true + require 'spec_helper' 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 @@ +# frozen_string_literal: true + require 'fileutils' require 'byebug' require 'rspec' require 'pronto/eslint_npm' -%w(test eslintignore).each do |repo_name| +%w[test eslintignore].each do |repo_name| RSpec.shared_context "#{repo_name} repo" do let(:git) { "spec/fixtures/#{repo_name}.git/git" } let(:dot_git) { "spec/fixtures/#{repo_name}.git/.git" } -- cgit v1.2.3