Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mroloux committed Nov 9, 2023
1 parent f0507ee commit 4f6d2b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/seasons/add_events_to_partial_season_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def test_add_events_to_partial_season
event_keys: %w[event1 event2]

assert_equal(%w[event1 event2], updated_season.events.map { |e| e.key })
assert_equal(%w[updated_season.key], updated_season.events[0].partial_season_keys_for_event)
assert_equal([updated_season.key], updated_season.events[0].partial_season_keys_for_event)
end
end
2 changes: 1 addition & 1 deletion test/seasons/create_partial_season_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ def test_event_keys_is_optional
partial_season = @seatsio.seasons.create_partial_season top_level_season_key: season.key, event_keys: ['event1', 'event2']

assert_equal(%w[event1 event2], partial_season.events.map { |e| e.key })
assert_equal(%w[partial_season.key], partial_season.events[0].partial_season_keys_for_event)
assert_equal([partial_season.key], partial_season.events[0].partial_season_keys_for_event)
end
end

0 comments on commit 4f6d2b8

Please sign in to comment.