<commit_before>require 'spec_helper'

describe Organization do
  before :each do
    @org = Organization.new(:name => "EHP", :street_address => "1415 Pulgas Ave", :city => "East Palo Alto",
    												:state => "CA", :zipcode => "94103", :phone => "350-657-9034")
  end
	
	it "joins all address elements into one string" do
		@org.address.should == "#{@org.street_address}, #{@org.city}, #{@org.state} #{@org.zipcode}"
	end
	
end<commit_msg>refactors organization tests using subject<commit_after>require 'spec_helper'

describe Organization do
	it "responds to address" do
		subject.should respond_to(:address)
	end

	it "joins all address elements into one string" do
		subject.address.should == "#{subject.street_address}, #{subject.city}, #{subject.state} #{subject.zipcode}"
	end
	
end
{'fraction_non_alphanumeric': 0.1459119496855346, 'fraction_numerical': 0.02389937106918239, 'mean_word_length': 4.527777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1986270', 'n_tokens_mistral': 288, 'n_tokens_neox': 251, 'n_words': 74}