<commit_before>require 'spec_helper'

describe "Shipments" do
  
  Spree::Zone.delete_all
  let(:shipping_method) { Factory(:shipping_method, :zone => Zone.find_by_name('North America') || Factory(:zone, :name => 'North America')) }
  let(:order) { Factory(:completed_order_with_totals, :number => "R100", :state => "complete",  :shipping_method => shipping_method) }

  before(:each) do<commit_msg>Use correct namespace for Zone class in shipment_spec<commit_after>require 'spec_helper'

describe "Shipments" do
  
  Spree::Zone.delete_all
  let(:shipping_method) { Factory(:shipping_method, :zone => Spree::Zone.find_by_name('North America') || Factory(:zone, :name => 'North America')) }
  let(:order) { Factory(:completed_order_with_totals, :number => "R100", :state => "complete",  :shipping_method => shipping_method) }

  before(:each) do
{'fraction_non_alphanumeric': 0.15621301775147928, 'fraction_numerical': 0.007100591715976331, 'mean_word_length': 6.833333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '4326055', 'n_tokens_mistral': 284, 'n_tokens_neox': 270, 'n_words': 56}