Sha256: 12537031bb8bac042faca05dc260b4d87b33aa3e26bade8796dce25fcc786f0d
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_jwt-1.2.2 | lib/solidus_jwt/testing_support/factories.rb |