Closed deivid-rodriguez closed 9 years ago
Hi @paul, I forked the gem to have a look at the source and I noticed several warnings about "using rspec 3 with the old should
syntax and not specifying a preferred syntax". So I run transpec
to automatically migrate the specs to the new syntax and remove the warning. Transpec automatically adds a commit message for you that's why it looked like a bot... Sorry, I should have explained myself... :S
In any case, if you like the old syntax you can keep it and remove the warnings by specifying your preferred syntax in the spec_helper file. Something like this will do:
config.expect_with :rspec do |expectations|
expectations.syntax = :should
end
@paul ping
This conversion is done by Transpec 2.3.7 with the following command: transpec
For more details: https://github.com/yujinakayama/transpec#supported-conversions