<commit_before>require 'spec_helper'

feature 'Spree Admin Orders Controller Export CSV' do
  stub_authorization!

  background do
    sign_in_as!(create(:admin_user))
    visit spree.admin_path
    click_link "Orders"
  end<commit_msg>Expected failures. Need to fix but good start.<commit_after>require 'spec_helper'

feature 'Spree Admin Orders Controller Export CSV' do
  stub_authorization!

  background do
    sign_in_as!(create(:admin_user))
    create_list(:completed_order_with_totals, 1)
    visit spree.admin_path
    click_link "Orders"
  end
{'fraction_non_alphanumeric': 0.07220216606498195, 'fraction_numerical': 0.0018050541516245488, 'mean_word_length': 4.904255319148936, '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': '3434470', 'n_tokens_mistral': 182, 'n_tokens_neox': 173, 'n_words': 46}