Sha256: 98e2f47cdc8054e7d721ebfb7f86d2b5589f00fd59a0c0a4555a50a020946797
Contents?: true
Size: 566 Bytes
Versions: 4
Compression:
Stored size: 566 Bytes
Contents
require 'test_helper' module Workarea module Admin module Listrak class EventsIntegrationTest < Workarea::IntegrationTest include Admin::IntegrationTest def test_index get admin.listrak_list_events_path list_id: "1234", format: :json assert response.ok? expected_json = { "results" => [{ "label" => "Test", "value" => 12714 }, { "label" => "footer signup", "value" => 12715 }] } assert_equal expected_json, JSON.parse(response.body) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems