File: 0004-spec-add-missing-require-spec_helper.patch

package info (click to toggle)
yard 0.9.37-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,720 kB
  • sloc: ruby: 31,354; javascript: 7,608; makefile: 21
file content (20 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Antonio Terceiro <terceiro@debian.org>
Date: Tue, 10 Jan 2017 18:19:09 -0200
Subject: spec: add missing `require 'spec_helper'`

---
 spec/cli/command_parser_spec.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/spec/cli/command_parser_spec.rb b/spec/cli/command_parser_spec.rb
index c3ad54b..58c2b76 100644
--- a/spec/cli/command_parser_spec.rb
+++ b/spec/cli/command_parser_spec.rb
@@ -1,5 +1,7 @@
 # frozen_string_literal: true
 
+require 'spec_helper'
+
 RSpec.describe YARD::CLI::CommandParser do
   describe "#run" do
     before do