lib/synvert/snippets/rspec/should_to_expect.rb in synvert-0.0.10 vs lib/synvert/snippets/rspec/should_to_expect.rb in synvert-0.0.11

- old
+ new

@@ -1,6 +1,6 @@ Synvert::Rewriter.new "convert_rspec_should_to_expect", "RSpec converts should to expect" do - gem_spec 'rspec', '2.11.0' + if_gem 'rspec', {gte: '2.11.0'} {should: 'to', should_not: 'not_to'}.each do |old_message, new_message| within_files 'spec/**/*.rb' do # obj.should matcher => expect(obj).to matcher # obj.should_not matcher => expect(obj).not_to matcher