lib/synvert/snippets/rspec/its_to_it.rb in synvert-0.0.10 vs lib/synvert/snippets/rspec/its_to_it.rb in synvert-0.0.11
- old
+ new
@@ -1,6 +1,6 @@
Synvert::Rewriter.new "convert_rspec_its_to_it", "RSpec converts its to it" do
- gem_spec 'rspec', '2.99.0'
+ if_gem 'rspec', {gte: '2.99.0'}
[:should, :should_not].each do |message|
within_files 'spec/**/*.rb' do
# describe 'example' do
# subject { { foo: 1, bar: 2 } }