Sha256: e401b6f06f79811af3eb08bea45c569351368d2979062c8d793e2645fb30d841
Contents?: true
Size: 410 Bytes
Versions: 14
Compression:
Stored size: 410 Bytes
Contents
require "support" class TestEvent < Omise::Test setup do @event = Omise::Event.retrieve("evnt_test_52cin5n9bb6lytxduh9") end def test_that_we_can_list_all_events events = Omise::Event.list assert_instance_of Omise::List, events end def test_that_we_can_retrieve_a_event assert_instance_of Omise::Event, @event assert_equal "evnt_test_52cin5n9bb6lytxduh9", @event.id end end
Version data entries
14 entries across 14 versions & 1 rubygems