Skip to content

Commit

Permalink
cucumber fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh7989 committed Nov 1, 2024
1 parent 64c42d9 commit 37cdf16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/employers/add_plan_year_for_employer.feature
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Feature: Add Plan Year For Employer
Background: Setup site, employer, and benefit market
Given a CCA site exists with a benefit market
Given benefit market catalog exists for enrollment_open initial employer with health benefits
Given SAFE benefit market catalog exists for enrollment_open initial employer with health benefits
And there is an employer ABC Widgets
And ABC Widgets employer has a staff role
And staff role person logged in
Expand Down
2 changes: 1 addition & 1 deletion features/step_definitions/integration_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ def non_dc_office_location
year = TimeKeeper.date_of_record.year
new_end = Time.new(year, 12,31,0,0,0,0).utc
assignment = BenefitGroupAssignment.on_date(ce, TimeKeeper.date_of_record - 2.months)
assignment.benefit_group.plan_year.update_attributes!(effective_period: Time.new(year - 1,11,1,0,0,0,0).utc..Time.new(year,12,31,0,0,0,0).utc)
assignment.benefit_group.plan_year.benefit_application_items.first.update_attributes(effective_period: Date.new(year - 1, 1, 1)..Date.new(year, 12, 31))
assignment.update_attributes!(end_on: new_end)
end
end
Expand Down

0 comments on commit 37cdf16

Please sign in to comment.