Skip to content

Instantly share code, notes, and snippets.

@adamhunter
Created August 31, 2012 13:15

Revisions

  1. adamhunter created this gist Aug 31, 2012.
    6 changes: 6 additions & 0 deletions estimator_spec.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@

    it "returns the list of possible industries for this account" do
    fake_industries = ['Deforester', 'Sludge Distillery'] # Captain Planet hates these
    @cavs_api.stub(:industries).and_return(fake_industries)
    estimator.industries.should eq(fake_industries)
    end