Skip to content

Commit

Permalink
fix specs initialization on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamfall committed Nov 6, 2023
1 parent 0ce5dc3 commit e3f0868
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/decorators/form_answer_decorator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions spec/lib/qae_form_builder_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -57,4 +57,4 @@ def self.step1
end
}
end
end
end

0 comments on commit e3f0868

Please sign in to comment.