Sha256: 4bc2fa2add4c3628b0f9ace89cd965bc33ccbd42bd76eeccc7eb80ecbcb3e64a

Contents?: true

Size: 1.87 KB

Versions: 21

Compression:

Stored size: 1.87 KB

Contents

Feature: Queryable Selector
  Scenario: Basic Selector Tests
    Then should initialize with an attribute and an operator
    Then should raise an exception if the operator is not supported
  Scenario: Using offset and limit
    Given the Server is running at "queryable-app"
    Then should limit the documents to the number specified
    Then should offset the documents by the number specified
    Then should support offset and limit at the same time
    Then should not freak out about an offset higher than the document count
  Scenario: Using where queries with an equal operator
    Given the Server is running at "queryable-app"
    Then should return the right documents
    Then should be chainable
    Then should not be confused by attributes not present in all documents
  Scenario: Using where queries with a complex operator
    Given the Server is running at "queryable-app"
    Then with a gt operator should return the right documents
    Then with a gte operator should return the right documents
    Then with an in operator should return the right documents
    Then with an lt operator should return the right documents
    Then with an lte operator should return the right documents
    Then with an include operator include should return the right documents
    Then with mixed operators should return the right documents
    Then using multiple constrains in one where should return the right documents
  Scenario: Sorting documents
    Given the Server is running at "queryable-app"
    Then should support ordering by attribute ascending
    Then should support ordering by attribute descending
    Then should order by attribute ascending by default
    Then should exclude documents that do not own the attribute
  Scenario: Passing queries around
    Given a simple 'where' query
    When I chain a where clause onto that query
    Then the original query should remain unchanged

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
middleman-core-3.4.1 features/queryable.feature
middleman-core-3.4.0 features/queryable.feature
middleman-core-3.3.12 features/queryable.feature
middleman-core-3.3.11 features/queryable.feature
middleman-core-3.3.10 features/queryable.feature
middleman-core-3.3.9 features/queryable.feature
middleman-core-3.3.8 features/queryable.feature
middleman-core-3.3.7 features/queryable.feature
middleman-core-3.3.6 features/queryable.feature
middleman-core-3.3.5 features/queryable.feature
middleman-core-cj-3.3.6 features/queryable.feature
middleman-core-cj-3.3.5 features/queryable.feature
middleman-core-cj-3.3.4 features/queryable.feature
middleman-core-3.3.4 features/queryable.feature
middleman-core-3.3.3 features/queryable.feature
middleman-core-3.3.2 features/queryable.feature
middleman-core-3.3.1 features/queryable.feature
middleman-core-3.3.0 features/queryable.feature
middleman-core-3.2.2 features/queryable.feature
middleman-core-3.2.1 features/queryable.feature