<commit_before># == Schema Information
#
# Table name: stores
#
#  id                     :integer          not null, primary key
#  email                  :string           default(""), not null
#  encrypted_password     :string           default(""), not null
#  reset_password_token   :string
#  reset_password_sent_at :datetime
#  remember_created_at    :datetime
#  sign_in_count          :integer          default("0"), not null
#  current_sign_in_at     :datetime
#  last_sign_in_at        :datetime
#  current_sign_in_ip     :inet
#  last_sign_in_ip        :inet
#  confirmation_token     :string
#  confirmed_at           :datetime
#  confirmation_sent_at   :datetime
#  unconfirmed_email      :string
#  created_at             :datetime         not null
#  updated_at             :datetime         not null
#  social_name            :string
#  fantasy_name           :string
#  cnpj                   :string
#  phone                  :string
#

require 'rails_helper'

RSpec.describe Store, type: :model do
  pending "add some examples to (or delete) #{__FILE__}"
end<commit_msg>created test to validate presence fields<commit_after># == Schema Information
#
# Table name: stores
#
#  id                     :integer          not null, primary key
#  email                  :string           default(""), not null
#  encrypted_password     :string           default(""), not null
#  reset_password_token   :string
#  reset_password_sent_at :datetime
#  remember_created_at    :datetime
#  sign_in_count          :integer          default("0"), not null
#  current_sign_in_at     :datetime
#  last_sign_in_at        :datetime
#  current_sign_in_ip     :inet
#  last_sign_in_ip        :inet
#  confirmation_token     :string
#  confirmed_at           :datetime
#  confirmation_sent_at   :datetime
#  unconfirmed_email      :string
#  created_at             :datetime         not null
#  updated_at             :datetime         not null
#  social_name            :string
#  fantasy_name           :string
#  cnpj                   :string
#  phone                  :string
#

require 'rails_helper'

RSpec.describe Store, type: :model do
   it { should validate_presence_of(:social_name ) }
   it { should validate_presence_of(:fantasy_name ) }
   it { should validate_presence_of(:cnpj ) }
   it { should validate_presence_of(:phone ) }
end
{'fraction_non_alphanumeric': 0.07531914893617021, 'fraction_numerical': 0.000851063829787234, 'mean_word_length': 2.093421052631579, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3594512', 'n_tokens_mistral': 685, 'n_tokens_neox': 675, 'n_words': 170}