Sha256: 6481143d128cb0673254cf4df82222c43ae834222a95c8458165132bd1261275

Contents?: true

Size: 292 Bytes

Versions: 7

Compression:

Stored size: 292 Bytes

Contents

require 'helper'
require 'parse_resource'

class TestQuery < Test::Unit::TestCase

  def test_respond_to
    q = Query.new(self).where(:foo => "bar")
    assert_equal q.respond_to?(:length), true
    assert_equal q.respond_to?(:[]), true
    assert_equal q.respond_to?(:map), true
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
parse_resource-1.8.0 test/test_query.rb
parse_resource-1.7.3 test/test_query.rb
parse_resource-1.7.2 test/test_query.rb
parse_resource-1.7.1 test/test_query.rb
parse_resource-1.7.0 test/test_query.rb
parse_resource-1.6.3 test/test_query.rb
parse_resource-1.6.2 test/test_query.rb