Sha256: 3341f48c2821090b58f5d650bac08b12c0af3a554d1e81d9b8238c9de3ee53d7

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

require 'rails_helper'

module ApiUserAuth
  RSpec.describe AuthUser, type: :model do
    context '#create_by_params' do
      it 'Valid' do
        expect(AuthUser.count).to eq(0)
        AuthUser.create_by_params(
          email: 'user@mail.com',
          password: '123456'
        )
        expect(AuthUser.count).to eq(1)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
api_user_auth-0.0.14 spec/models/api_user_auth/auth_user_spec.rb
api_user_auth-0.0.12 spec/models/api_user_auth/auth_user_spec.rb