spec/lib/generators/similarity/phonetic_spec.rb in picky-4.0.9 vs spec/lib/generators/similarity/phonetic_spec.rb in picky-4.1.0

- old
+ new

@@ -13,10 +13,10 @@ it "raises when you don't have the text gem" do instance = Class.new(described_class).allocate instance.should_receive(:require).any_number_of_times.and_raise LoadError - instance.should_receive(:warn).once.with "text gem missing!\nTo use a phonetic Similarity, you need to:\n 1. Add the following line to Gemfile:\n gem 'text'\n or\n require 'text'\n for example at the top of your app.rb file.\n 2. Then, run:\n bundle update\n" + instance.should_receive(:warn).once.with "text gem missing!\nTo use a phonetic Similarity, you need to:\n 1. Add the following line to Gemfile:\n gem 'text'\n 2. Then, run:\n bundle update\n" instance.should_receive(:exit).once.with 1 instance.send :initialize end \ No newline at end of file