Skip to content

Commit

Permalink
Fix name of factory
Browse files Browse the repository at this point in the history
  • Loading branch information
mountolive committed Jan 14, 2025
1 parent aa5c6af commit 708ae48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
RSpec.describe Api::V1::Data::NdcContent::GlobalEmissionsController, type: :controller do
describe 'GET index' do
before do
FactoryBot.create :indc_global_emissions, year: 2020
FactoryBot.create :indc_global_emissions,
FactoryBot.create :indc_global_emission, year: 2020
FactoryBot.create :indc_global_emission,
year: 2021,
historical_emissions: 100,
ndcs_conditional_2020: 200
Expand Down

0 comments on commit 708ae48

Please sign in to comment.