Sha256: b7a606025525adb9e45f9d9cfae3b809d33aaaf3d38eddffafa76c5f3dbe7e63

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

FactoryGirl.define do
  factory :authorize_blank_strategy, class: AuthStrategist::Authorize do
    initialize_with do
      new(attributes)
    end
  end

  factory :authorize_missing_strategy, parent: :authorize_blank_strategy do
    strategy :missing_strategy
  end

  factory :authorize, parent: :authorize_blank_strategy do
    strategy :dummy_strategy
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth_strategist-0.6.0 spec/factories/authorize.rb
auth_strategist-0.5.0 spec/factories/authorize.rb