lib/rspeckled/plugins/wisper.rb in rspeckled-0.0.54 vs lib/rspeckled/plugins/wisper.rb in rspeckled-0.0.55
- old
+ new
@@ -1,16 +1,8 @@
# frozen_string_literal: true
-##############################################################################
-# Wisper
-##############################################################################
+require 'wisper/rspec/matchers'
+require 'wisper/rspec/stub_wisper_publisher'
-begin
- require 'wisper'
- require 'wisper/rspec/matchers'
- require 'wisper/rspec/stub_wisper_publisher'
-
- RSpec.configure do |config|
- config.include(Wisper::RSpec::BroadcastMatcher)
- end
-rescue LoadError
+RSpec.configure do |config|
+ config.include(Wisper::RSpec::BroadcastMatcher)
end