Sha256: 3c0f812e26668fa281460cf222ea0fc1ee6358703b282ddeab93498dde68157a

Contents?: true

Size: 255 Bytes

Versions: 11

Compression:

Stored size: 255 Bytes

Contents

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

11 entries across 11 versions & 1 rubygems

Version Path
social_networking-0.11.8 spec/support/feature_helpers.rb
social_networking-0.11.7 spec/support/feature_helpers.rb
social_networking-0.11.6 spec/support/feature_helpers.rb
social_networking-0.11.5 spec/support/feature_helpers.rb
social_networking-0.11.4 spec/support/feature_helpers.rb
social_networking-0.11.3 spec/support/feature_helpers.rb
social_networking-0.11.2 spec/support/feature_helpers.rb
social_networking-0.11.1 spec/support/feature_helpers.rb
social_networking-0.11.0 spec/support/feature_helpers.rb
social_networking-0.10.0 spec/support/feature_helpers.rb
social_networking-0.9.3 spec/support/feature_helpers.rb