<commit_before>require 'rails_helper'

RSpec.describe Proposal, :vcr do

  before :each do
    # Stub out posting of instructions for now
    allow_any_instance_of(Proposal).to receive(:post_instructions)
  end

  it "should update proposals on demand" do
    Timecop.freeze(2015,5,30)<commit_msg>improve post_instructions expectation<commit_after>require 'rails_helper'

RSpec.describe Proposal, :vcr do

  before :each do
    # Stub out posting of instructions for now
    expect_any_instance_of(Proposal).to receive(:post_instructions).once.and_return(nil)
  end

  it "should update proposals on demand" do
    Timecop.freeze(2015,5,30)
{'fraction_non_alphanumeric': 0.078125, 'fraction_numerical': 0.021875, 'mean_word_length': 4.990654205607477, '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': '1656841', 'n_tokens_mistral': 218, 'n_tokens_neox': 198, 'n_words': 55}