File size: 368 Bytes
c9c49ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
defmodule PlausibleTest do
  use ExUnit.Case, async: true

  describe "product_name/0" do
    @tag :ce_build_only
    test "returns the correct name in CE" do
      assert Plausible.product_name() == "Plausible CE"
    end

    @tag :ee_only
    test "returns the correct name in EE" do
      assert Plausible.product_name() == "Plausible Analytics"
    end
  end
end