spec/project_spec.rb in rubocop-rspec-1.2.0 vs spec/project_spec.rb in rubocop-rspec-1.2.1

- old
+ new

@@ -1,16 +1,14 @@ # encoding: utf-8 -require 'spec_helper' - describe 'RuboCop Project' do # rubocop:disable RSpec/DescribeClass describe 'default configuration file' do let(:cop_names) do Dir.glob(File.join(File.dirname(__FILE__), '..', 'lib', 'rubocop', 'cop', 'rspec', '*.rb')) .map do |file| cop_name = File.basename(file, '.rb') - .gsub(/(^|_)(.)/) { Regexp.last_match(2).upcase } + .gsub(/(^|_)(.)/) { Regexp.last_match(2).upcase } "RSpec/#{cop_name}" end end