Sha256: 0b9e428b1babe2aad4a9d8fbb01dc1fb0f1105d575bfd519c3ca73d4bd4ad5c0
Contents?: true
Size: 248 Bytes
Versions: 1
Compression:
Stored size: 248 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe <%= qualified_class_name %>, type: :model do subject(:transaction) { build(:<%= factory_name %>) } it 'has a valid factory' do expect(transaction).to be_valid end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
generalis-0.1.0 | lib/generators/rspec/templates/transaction_spec.rb.erb |