Skip to content

Commit bb23860

Browse files
committed
re-add specs to RubCop config
1 parent 189abc0 commit bb23860

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.rubocop_cocoapods.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ require:
44
AllCops:
55
Include:
66
- lib/**/*.rb
7+
- spec/**/*.rb
78
- Rakefile
89
- Gemfile
910
- "*.gemspec"

spec/standard_error_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ module Pod
3333

3434
it 'parses syntax error messages for well-formed messages' do
3535
code = "puts 'hi'\nputs())\nputs 'bye'"
36-
# rubocop:disable Eval
36+
# rubocop:disable Security/Eval
3737
syntax_error = should.raise(SyntaxError) { eval(code, nil, @dsl_path.to_s) }
38-
# rubocop:enable Eval
38+
# rubocop:enable Security/Eval
3939
@err.stubs(:description).returns("Invalid `Three20.podspec` file: #{syntax_error.message}")
4040
@err.stubs(:underlying_exception).returns(syntax_error)
4141
File.stubs(:read).returns(code)

0 commit comments

Comments
 (0)