diff --git a/spec/decorators/form_answer_decorator_spec.rb b/spec/decorators/form_answer_decorator_spec.rb index f48807c43..27abe77b7 100644 --- a/spec/decorators/form_answer_decorator_spec.rb +++ b/spec/decorators/form_answer_decorator_spec.rb @@ -42,7 +42,7 @@ let(:year) { 1 } context "sic code present" do - let(:sic_code) { SICCode.first } + let(:sic_code) { SicCode.first } it "returns average growth for specific year" do expect(subject.average_growth_for(year)).to eq(sic_code.by_year(year)) end @@ -78,7 +78,7 @@ describe "#dashboard_status" do it "returns fill progress when application is not submitted" do - form_answer = create(:form_answer, state: "application_in_progress", document: { sic_code: SICCode.first.code }) + form_answer = create(:form_answer, state: "application_in_progress", document: { sic_code: SicCode.first.code }) expect(described_class.new(form_answer).dashboard_status).to eq("Nomination in progress...0%") end diff --git a/spec/lib/qae_form_builder_spec.rb b/spec/lib/qae_form_builder_spec.rb index c651512c4..af717926f 100644 --- a/spec/lib/qae_form_builder_spec.rb +++ b/spec/lib/qae_form_builder_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -describe QAEFormBuilder do +describe QaeFormBuilder do subject do described_class.build 'Dummy Award' do step 'Step1', 'step1', &DummyForm.step1 @@ -57,4 +57,4 @@ def self.step1 end } end -end \ No newline at end of file +end