require 'spec_helper' describe FBO::Parser::SourcesSoughtHandler do let(:filename) { File.join(File.dirname(__FILE__), "..", "..", "fixtures", "notices", "srcsgt") } let(:file) { File.new(filename) } let(:contents) { file.read } subject { FBO::Parser::SourcesSoughtHandler } it "should recognize sources sought content" do subject.is_sources_sought?(contents).should be_true end it "should parse all fields correctly" do combine = subject.parse(contents) combine.date.strftime("%Y-%m-%d").should eq Date.parse("2013-04-07").strftime("%Y-%m-%d") combine.year.should eq 2013 combine.agency.should eq "Department of Housing and Urban Development" combine.office.should eq "OCPO, Office of Support Operations" combine.location.should eq "Office of Support Operations, NO" combine.zip.should eq "20410" combine.class_code.should eq "R" combine.naics_code.should eq "541211" combine.office_address.should eq "451 7th Street S.W. Washington DC 20410" combine.subject.should eq "The U.S. Department of Housing and Urban Development is trying to determine the availability and capability of qualified small businesses to analyze internal control over financial reporting in accordance with The Office and Budget (OMB) Circular A-123." combine.solicitation_number.should eq "HUD_FHA_OMB_CIRCULAR_A123" combine.response_date.strftime("%Y-%m-%d").should eq "2013-04-22" combine.archive_date.should be_nil combine.contact_info.should eq "Robert E. Caldwell, Contract Specialist, Phone (202) 402-3503, Email robert.e.caldwell@hud.gov - Diane Toledo-Gaskins, Contracting Officer, Phone (202) 402-4140, Email diane.e.toledo-gaskins@hud.gov" combine.description.should eq "This is a SOURCES SOUGHT NOTICE for the United States Department of Housing and Urban Development's, Federal Housing Administration (FHA) to determine the availability and capability of qualified small businesses (including certified 8(a), Small Disadvantaged, HUBZone firms; veteran and service-disabled veteran-owned small businesses, and women-owned small businesses) to analyze FHA's internal control over financial reporting.
\n

The contractor assessing FHA's internal control over financial reporting shall determine whether control deficiencies, as defined in A-123, exist. If control deficiencies exist, the contractor shall determine if they rise to the level of a significant deficiency or material weakness as defined in A-123. For identified control deficiencies, the contractor shall recommend improvements needed to strengthen internal controls. The result of this assessment will provide a basis for management's assurance statement regarding the effectiveness of internal control over financial reporting.

\n

Responses to this announcement will not be returned, nor will there be any discussions or debriefings of any responses. However, information obtained as a result of this announcement may be reflected in the subsequent solicitation, and HUD may contact one or more respondents for clarifications and to enhance the government's understanding. This announcement is Government market research, and may result in revisions in both its requirements and its acquisition strategy based on industry responses. RESPONDENTS MUST SUBMIT THEIR CAPABILITY STATEMENT AND SUPPORTING DOCUMENTATION VIA E-MAIL in MS Word, WordPerfect, or Adobe Portable Document Format (PDF) to Robert Caldwell at robert.e.caldwell@hud.gov no later than Monday, April 22, 2013 at 5:00PM Eastern Standard Time for consideration.

" combine.link_url.should eq "https://www.fbo.gov/spg/HUD/NO/NO/HUD_FHA_OMB_CIRCULAR_A123/listing.html" combine.link_description.should eq "Link To Document" combine.setaside.should eq "N/A" combine.pop_country.should eq "US" combine.pop_zip.should eq "20410" combine.pop_address.should eq "An initial visit to Washington, D.C. to HUD Headquarters to meet with HUD staff will be required after contract award.\n\nWashington, DC" end context "when not a sources sought" do let(:filename) { File.join(File.dirname(__FILE__), "..", "..", "fixtures", "notices", "presol") } it "should not recognize other notice content" do subject.is_sources_sought?(contents).should_not be_true end end end