lib/decidim/suomifi/test/runtime.rb in decidim-suomifi-0.18.1 vs lib/decidim/suomifi/test/runtime.rb in decidim-suomifi-0.19.0
- old
+ new
@@ -1,7 +1,9 @@
# frozen_string_literal: true
+require "webmock"
+
module Decidim
module Suomifi
module Test
class Runtime
# Ability to stub the requests already in the control class
@@ -30,18 +32,10 @@
def self.cert_store
@cert_store ||= CertStore.new
end
def instance_initialize
- yield self
-
- # Setup the Suomi.fi OmniAuth strategy for Devise
- # ::Devise.setup do |config|
- # config.omniauth(
- # :suomifi,
- # Decidim::Suomifi.omniauth_settings
- # )
- # end
+ yield self if block_given?
end
end
end
end
end