Sha256: e85391d0d9d78baa1c246219a44dc381ad55fdc4dcb41ffcf48af16d011ea475

Contents?: true

Size: 610 Bytes

Versions: 3

Compression:

Stored size: 610 Bytes

Contents

Feature: Setting a Connection Manually

  Scenario: Setting the connection manually
    Given a new connection to the database "with_auth" with user "test" and password "test"
    And a new collection named 'test'
    And an object 'movie'
    When I save the object 'movie'
    And I query the collection 'test' with the criteria where(:title => 'Gone with the Wind')
    Then the query result has 1 documents

  Scenario: Failing auth with manual connection
    When a new connection to the database "with_auth" with user "test" and password "bad"
    Then a "Mongo::AuthenticationError" exception is thrown

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongo_doc-0.6.26 features/connection.feature
mongo_doc-0.6.25 features/connection.feature
mongo_doc-0.6.23 features/connection.feature