spec/lib/extensions/object_spec.rb in picky-3.1.13 vs spec/lib/extensions/object_spec.rb in picky-3.2.0
- old
+ new
@@ -22,10 +22,10 @@
end
end
describe 'warn_gem_missing' do
it 'should warn right' do
- object.should_receive(:warn).once.with "gnorf gem missing!\nTo use gnarble gnarf, you need to:\n 1. Add the following line to Gemfile:\n gem 'gnorf'\n 2. Then, run:\n bundle update\n"
+ object.should_receive(:warn).once.with "gnorf gem missing!\nTo use gnarble gnarf, you need to:\n 1. Add the following line to Gemfile:\n gem 'gnorf'\n or\n require 'gnorf'\n for example on top of your app.rb/application.rb\n 2. Then, run:\n bundle update\n"
object.warn_gem_missing 'gnorf', 'gnarble gnarf'
end
end
end
\ No newline at end of file