spec/rubocop/rspec/language/selector_set_spec.rb in rubocop-rspec-1.33.0 vs spec/rubocop/rspec/language/selector_set_spec.rb in rubocop-rspec-1.34.0

- old
+ new

@@ -36,18 +36,18 @@ end describe '#send_pattern' do it 'builds a send matching pattern' do expect(selector_set.send_pattern).to eql( - '(send {(const nil? :RSpec) nil?} {:foo :bar} ...)' + '(send {(const {nil? cbase} :RSpec) nil?} {:foo :bar} ...)' ) end end describe '#block_pattern' do it 'builds a block matching pattern' do expect(selector_set.block_pattern).to eql( - '(block (send {(const nil? :RSpec) nil?} {:foo :bar} ...) ...)' + '(block (send {(const {nil? cbase} :RSpec) nil?} {:foo :bar} ...) ...)' ) end end end