spec/lib/extensions/object_spec.rb in picky-1.2.0 vs spec/lib/extensions/object_spec.rb in picky-1.2.1

- old
+ new

@@ -21,6 +21,14 @@ @object.timed_exclaim 'bla' end end + describe 'puts_gem_missing' do + it 'should puts right' do + @object.should_receive(:puts).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.puts_gem_missing 'gnorf', 'gnarble gnarf' + end + end + end \ No newline at end of file