Skip to content

Commit fb6b07c

Browse files
committed
redundantself autocorrect check
1 parent 668be98 commit fb6b07c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

script/functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ function check_documentation_coverage {
176176
}
177177

178178
function check_style_and_lint {
179-
echo "bin/rubocop"
180-
eval "(unset RUBYOPT; exec bin/rubocop)"
179+
echo "bin/rubocop lib"
180+
eval "(unset RUBYOPT; exec bin/rubocop lib)"
181181
}
182182

183183
function run_all_spec_suites {

spec/rspec/rails/assertion_delegator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
it "delegates back to the including instance for methods the assertion module requires" do
1111
assertions = Module.new {
1212
def has_thing?(thing)
13-
self.things.include?(thing)
13+
things.include?(thing)
1414
end
1515
}
1616

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module RSpecRails
44
class Application < ::Rails::Application
5-
self.config.secret_key_base = 'ASecretString'
5+
config.secret_key_base = 'ASecretString'
66

77
if defined?(ActionCable)
88
ActionCable.server.config.cable = { "adapter" => "test" }

0 commit comments

Comments
 (0)