Skip to content

Commit 334c726

Browse files
committed
Style/RedundantSelf
1 parent 97d08dd commit 334c726

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)