From 7379daad1c73bd3610ed296436250b417ac3673d Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 10 Feb 2011 14:19:00 +0100 Subject: removed thinking_sphinx plugin and replaced it with gem. also tuned dependencies --- .../features/handling_edits.feature | 76 ---------------------- 1 file changed, 76 deletions(-) delete mode 100644 vendor/plugins/thinking-sphinx/features/handling_edits.feature (limited to 'vendor/plugins/thinking-sphinx/features/handling_edits.feature') diff --git a/vendor/plugins/thinking-sphinx/features/handling_edits.feature b/vendor/plugins/thinking-sphinx/features/handling_edits.feature deleted file mode 100644 index 6b14766c..00000000 --- a/vendor/plugins/thinking-sphinx/features/handling_edits.feature +++ /dev/null @@ -1,76 +0,0 @@ -Feature: Keeping Sphinx in line with model changes when requested - In order to keep indexes as up to date as possible - Thinking Sphinx - Should return the expected results depending on whether delta indexes are used - - Scenario: Returning instance from old data if there is no delta - Given Sphinx is running - And I am searching on alphas - When I search for two - Then I should get 1 result - - When I change the name of alpha two to twelve - And I wait for Sphinx to catch up - And I search for two - Then I should get 1 result - - Scenario: Not returing an instance from old data if there is a delta - Given Sphinx is running - And I am searching on betas - When I search for two - Then I should get 1 result - - When I change the name of beta two to twelve - And I wait for Sphinx to catch up - And I search for two - Then I should get 0 results - - Scenario: Returning instance from new data if there is a delta - Given Sphinx is running - And I am searching on betas - When I search for one - Then I should get 1 result - - When I change the name of beta one to eleven - And I wait for Sphinx to catch up - And I search for one - Then I should get 0 results - - When I search for eleven - Then I should get 1 result - - Scenario: Returning new records if there's a delta - Given Sphinx is running - And I am searching on betas - When I search for fifteen - Then I should get 0 results - - When I create a new beta named fifteen - And I wait for Sphinx to catch up - And I search for fifteen - Then I should get 1 result - - Scenario: Avoiding delta updates if there hasn't been changes - Given Sphinx is running - And I am searching on betas - When I search for five - Then I should get 1 result - - When I change the name of beta five to five - And I wait for Sphinx to catch up - And I search for five - Then I should get 1 result - - When I search for the document id of beta five in the beta_core index - Then it should exist if using Rails 2.1 or newer - When I search for the document id of beta five in the beta_delta index - Then it should not exist if using Rails 2.1 or newer - - Scenario: Handling edits with a delta when Sphinx isn't running - Given Sphinx is running - And I am searching on betas - When I stop Sphinx - And I change the name of beta six to sixteen - And I start Sphinx - And I search for sixteen - Then I should get 1 result -- cgit v1.3