Sha256: a7dbca68c80828eaf8900a33fca2eef88ac5117f63e7ab15bc3d0bb04a148a6e

Contents?: true

Size: 285 Bytes

Versions: 5

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true
module Features
  module AuthenticationHelpers
    unless ActionController::Base.new.respond_to?(:authenticate_participant!)
      ActionController::Base.class_eval do
        define_method(:authenticate_participant!) { true }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
social_networking-0.13.3 spec/support/feature_helpers.rb
social_networking-0.13.2 spec/support/feature_helpers.rb
social_networking-0.13.1 spec/support/feature_helpers.rb
social_networking-0.13.0 spec/support/feature_helpers.rb
social_networking-0.12.0 spec/support/feature_helpers.rb