<commit_before>require 'spec_helper'

describe "admin/history/addresses/new.html.erb" do
  before(:each) do
    @order = Factory(:order)
    @address = Factory.build(:address)
  end

  it "renders new address form" do
    render
  end
end
<commit_msg>stub helper method for view spec<commit_after>require 'spec_helper'

describe "admin/history/addresses/new.html.erb" do
  before(:each) do
    @order = Factory(:order)
    @address = Factory.build(:address)
    view.stubs(:states).returns([])
  end

  it "renders new address form" do
    render
  end
end

{'fraction_non_alphanumeric': 0.11669658886894076, 'fraction_numerical': 0.0, 'mean_word_length': 3.8521739130434782, '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': '1367924', 'n_tokens_mistral': 188, 'n_tokens_neox': 184, 'n_words': 48}