lib/rubocop/cop/rspec/variable_definition.rb in rubocop-rspec-2.0.0.pre vs lib/rubocop/cop/rspec/variable_definition.rb in rubocop-rspec-2.0.0
- old
+ new
@@ -22,10 +22,10 @@
# # good
# subject('user') { create_user }
# let('user_name') { 'Adam' }
class VariableDefinition < Base
include ConfigurableEnforcedStyle
- include RuboCop::RSpec::Variable
+ include Variable
MSG = 'Use %<style>s for variable names.'
def on_send(node)
variable_definition?(node) do |variable|