Sha256: 3048277c31211b912858bba9f1e6693837fcf713b9ed47a5c92dbafb24169ab5
Contents?: true
Size: 423 Bytes
Versions: 4
Compression:
Stored size: 423 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) module Screenbeacon class AlertTest < ::Test::Unit::TestCase should "alerts should be listable" do @mock.expects(:get).once.returns(test_response(test_alert_array)) c = Screenbeacon::Alert.all assert c.kind_of? Array # TODO: Should be a Screenbeacon::Alert assert c[0].kind_of? Screenbeacon::ScreenbeaconObject end end end
Version data entries
4 entries across 4 versions & 1 rubygems