Sha256: bf8fd7ebc0218fac9d4c186f9a0be57808e7f8afae4172eafc4e62a99196f627

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

class ResourceTestCase

  shared "return an empty response body" do
    test "should return nil" do
      assert_equal nil, parsed_response_body
    end
  end

  shared "return an empty list response body" do
    test "should return []" do
      assert_equal [], parsed_response_body
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sinatra_resource-0.2.2 examples/datacatalog/test/helpers/shared/common_body_responses.rb
sinatra_resource-0.2.1 examples/datacatalog/test/helpers/shared/common_body_responses.rb
sinatra_resource-0.2.0 examples/datacatalog/test/helpers/shared/common_body_responses.rb
sinatra_resource-0.1.0 examples/datacatalog/test/helpers/shared/common_body_responses.rb