Sha256: efc518d215728bacbaddd6883c1d7ac5255b057302c69ca37d1569104a4db85b
Contents?: true
Size: 779 Bytes
Versions: 6
Compression:
Stored size: 779 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') module ESP::Integration class ServiceTest < ESP::Integration::TestCase context ESP::Service do context 'live calls' do setup do @service = ESP::Service.last fail "Live DB does not have any services. Add a service and run tests again." if @service.blank? end context '#signatures' do should 'return an array of signatures' do signatures = @service.signatures assert_equal ESP::Signature, signatures.resource_class end end context '#CRUD' do should 'be able to read' do assert_not_nil @service, @service.inspect end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems