Sha256: acaa8fde2bb870a25e1bc6b877d50eb4ff7bbb90b6673ba99394639b0f5687ad
Contents?: true
Size: 498 Bytes
Versions: 2
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do # Define your Spree extensions Factories within this file to enable applications, and other extensions to use and override them. # # Example adding this to your spec_helper will load these Factories for use: # require 'solidus_jwt/factories' factory :token, class: SolidusJwt::Token do association :user trait :expired do created_at { 1.year.ago } end trait :inactive do active { false } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_jwt-1.2.1 | lib/solidus_jwt/factories.rb |
solidus_jwt-1.2.0 | lib/solidus_jwt/factories.rb |