Skip to content

Commit

Permalink
test: changing id of draft ascor countries
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Feb 9, 2024
1 parent d55a7f8 commit 4e8c984
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/services/api/ascor/benchmarks_chart_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

before_all do
@country = create :ascor_country
_draft_country = create(:ascor_country, id: 3, name: 'Draft Country', iso: 'DFT')
_draft_country = create(:ascor_country, id: 30, name: 'Draft Country', iso: 'DFT')

create :ascor_pathway,
country: @country,
Expand Down
2 changes: 1 addition & 1 deletion spec/services/api/ascor/bubble_chart_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
before_all do
usa = create(:ascor_country, id: 1, name: 'USA', iso: 'USA')
japan = create(:ascor_country, id: 2, name: 'Japan', iso: 'JPN')
_draft_country = create(:ascor_country, id: 3, name: 'Draft Country', iso: 'DFT')
_draft_country = create(:ascor_country, id: 30, name: 'Draft Country', iso: 'DFT')

_indicator_pillar_1 = create(:ascor_assessment_indicator, id: 1, code: 'EP', indicator_type: :pillar,
text: 'Emissions Performance')
Expand Down
2 changes: 1 addition & 1 deletion spec/services/api/ascor/emissions_chart_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
before_all do
@usa = create(:ascor_country, id: 1, name: 'USA', iso: 'USA')
@czechia = create(:ascor_country, id: 2, name: 'Czechia', iso: 'CZE')
_draft_country = create(:ascor_country, id: 3, name: 'Draft Country', iso: 'DFT')
_draft_country = create(:ascor_country, id: 30, name: 'Draft Country', iso: 'DFT')

create :ascor_pathway,
country: @usa,
Expand Down
2 changes: 1 addition & 1 deletion spec/services/api/ascor/recent_emissions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

before_all do
@country = create(:ascor_country, id: 1, name: 'USA', iso: 'USA')
_draft_country = create(:ascor_country, id: 3, name: 'Draft Country', iso: 'DFT')
_draft_country = create(:ascor_country, id: 30, name: 'Draft Country', iso: 'DFT')
@assessment_date = Date.new(2019, 1, 1)

create :ascor_pathway,
Expand Down

0 comments on commit 4e8c984

Please sign in to comment.