Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (23 sloc) 800 Bytes
Feature: Searching on a single model
In order to use search models with non-integer primary keys
A developer
Should be able to search on a single model
Scenario: Searching using a basic query
Given Sphinx is running
And I am searching on robots
When I search for Sizzle
Then I should get 2 results
Scenario: Searching using another basic query
Given Sphinx is running
And I am searching on robots
When I search for fritz
Then I should get 1 result
Scenario: Deleting an instance
Given Sphinx is running
And I am searching on robots
When I search for Expendable
Then I should get 1 result
When I destroy robot Expendable
And I wait for Sphinx to catch up
And I search for Expendable
Then I should get 0 results
Something went wrong with that request. Please try again.