<commit_before># frozen_string_literal: true

require "spec_helper"

describe "spree/orders/edit.html.haml" do
  helper InjectionHelper
  helper ShopHelper
  helper ApplicationHelper
  helper CheckoutHelper
  helper SharedHelper
  helper FooterLinksHelper
  helper MarkdownHelper

  let(:order) { create(:completed_order_with_fees) }

  before do
    assign(:order, order)<commit_msg>Add helper to view spec needing it<commit_after># frozen_string_literal: true

require "spec_helper"

describe "spree/orders/edit.html.haml" do
  helper InjectionHelper
  helper ShopHelper
  helper ApplicationHelper
  helper CheckoutHelper
  helper SharedHelper
  helper FooterLinksHelper
  helper MarkdownHelper
  helper TermsAndConditionsHelper

  let(:order) { create(:completed_order_with_fees) }

  before do
    assign(:order, order)
{'fraction_non_alphanumeric': 0.060753341433778855, 'fraction_numerical': 0.0, 'mean_word_length': 5.387596899224806, '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': '1553439', 'n_tokens_mistral': 249, 'n_tokens_neox': 237, 'n_words': 63}