<commit_before>require 'rails_helper'

RSpec.describe Post, type: :model do
  pending "add some examples to (or delete) #{__FILE__}"
end<commit_msg>added basic post model tests<commit_after>require 'rails_helper'

RSpec.describe Post, type: :model do
  before(:each) do
    @stub_post = build_stubbed(:post)
  end

  it "has a title" do
    expect(@stub_post.title).to eq('MyString')
  end

  it "has some content" do
    expect(@stub_post.content).to eq('MyText')
  end

  it "has a post date time" do
    expect(@stub_post.post_date).to eq('2016-07-24 13:38:12')
  end
end
{'fraction_non_alphanumeric': 0.12195121951219512, 'fraction_numerical': 0.024390243902439025, 'mean_word_length': 4.275229357798165, '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': '889139', 'n_tokens_mistral': 216, 'n_tokens_neox': 204, 'n_words': 59}