Files
wanderer/test/unit/map_duplication_test.exs
T
2025-07-13 21:12:32 -04:00

23 lines
691 B
Elixir

defmodule WandererApp.MapDuplicationTest do
use WandererAppWeb.ConnCase, async: true
alias WandererApp.ExternalEvents.Event
# Factory not needed for this test
describe "map duplication" do
test "rally point events are supported in external events system" do
supported_types = Event.supported_event_types()
assert :rally_point_added in supported_types
assert :rally_point_removed in supported_types
end
test "rally point event types validate correctly" do
assert Event.valid_event_type?(:rally_point_added)
assert Event.valid_event_type?(:rally_point_removed)
refute Event.valid_event_type?(:invalid_rally_event)
end
end
end