spec/spec_helper.rb in yuyi-1.1.4 vs spec/spec_helper.rb in yuyi-1.1.5

- old
+ new

@@ -15,13 +15,16 @@ config.expect_with :rspec do |c| c.syntax = :expect end - config.order = 'random' + config.order = :random config.before do allow(Yuyi).to receive(:say) + allow(ProgressBar).to receive(:create) + allow_any_instance_of(Yuyi::Menu).to receive_message_chain('progressbar.reset') + allow_any_instance_of(Yuyi::Menu).to receive_message_chain('progressbar.increment') end end # Allow true/false to respond to Boolean class module Boolean; end