Sha256: 48a9a8961dbd8db0df68a8a49ae67d3a740194f5ebb0c6b35cfb3fab6553ff29

Contents?: true

Size: 325 Bytes

Versions: 24

Compression:

Stored size: 325 Bytes

Contents

require 'factory_girl'

FactoryGirl.define do
  factory :service_ticket, class: CASino::ServiceTicket do
    ticket_granting_ticket
    sequence :ticket do |n|
      "ST-ticket#{n}"
    end
    sequence :service do |n|
      "http://www#{n}.example.org/"
    end

    trait :consumed do
      consumed true
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
casino-4.1.2 spec/support/factories/service_ticket_factory.rb
casino-4.1.1 spec/support/factories/service_ticket_factory.rb
casino-4.1.0 spec/support/factories/service_ticket_factory.rb
casino-4.0.3 spec/support/factories/service_ticket_factory.rb
casino-4.0.2 spec/support/factories/service_ticket_factory.rb
casino-4.0.1 spec/support/factories/service_ticket_factory.rb
casino-4.0.0 spec/support/factories/service_ticket_factory.rb
casino-4.0.0.pre.2 spec/support/factories/service_ticket_factory.rb
casino-4.0.0.pre.1 spec/support/factories/service_ticket_factory.rb
casino-3.0.4 spec/support/factories/service_ticket_factory.rb
casino-2.0.7 spec/support/factories/service_ticket_factory.rb
casino-3.0.3 spec/support/factories/service_ticket_factory.rb
casino-3.0.2 spec/support/factories/service_ticket_factory.rb
casino-3.0.1 spec/support/factories/service_ticket_factory.rb
casino-3.0.0 spec/support/factories/service_ticket_factory.rb
casino-3.0.0.pre.2 spec/support/factories/service_ticket_factory.rb
casino-3.0.0.pre.1 spec/support/factories/service_ticket_factory.rb
casino-2.0.6 spec/support/factories/service_ticket_factory.rb
casino-2.0.5 spec/support/factories/service_ticket_factory.rb
casino-2.0.4 spec/support/factories/service_ticket_factory.rb