Sha256: fd83e2aa73b857912fde4994413ece42b5fc6ee2ebe7c0ded67a88ad69ebda90

Contents?: true

Size: 353 Bytes

Versions: 17

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

# generado con pg_rails

require 'rails_helper'

RSpec.describe UserAccount do
  let(:user_account) { create(:user_account) }

  it 'se persiste' do
    ActsAsTenant.without_tenant do
      expect(user_account).to be_persisted
      expect(User.count).to eq 1
      expect(described_class.count).to eq 1
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
pg_rails-7.6.23 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.22 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.22.pre.3 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.22.pre.2 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.22.pre.1 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.11 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.10 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.9 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.8 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.7 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.6 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.5 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.4 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.3 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.2 pg_engine/spec/models/user_account_spec.rb
pg_rails-7.6.21.pre.1 pg_engine/spec/models/user_account_spec.rb