Sha256: 31dc03897dd1f95bfbbe97b2acd6c726bb15e6d0ffec1ec0c05cd17bf05ba4dd
Contents?: true
Size: 322 Bytes
Versions: 3
Compression:
Stored size: 322 Bytes
Contents
require 'test_helper' module ApiPi class TestDsl < TestCase def test_response_gathering r = ApiPi::Dsl.new(t:'t') r.test "metadata" do "test".is_a(String) end assert r.tests.has_key?('metadata'), r.tests['metadata'] assert_kind_of Proc, r.tests['metadata'] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
api_pi-0.9.3 | test/unit/test_dsl.rb |
api_pi-0.9.2 | test/unit/test_dsl.rb |
api_pi-0.9 | test/unit/test_dsl.rb |