summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2011-02-10 14:19:00 +0100
committerhukl <contact@smyck.org>2011-02-10 14:19:00 +0100
commit7379daad1c73bd3610ed296436250b417ac3673d (patch)
tree04f722efc678de9d3aa5bf8f1c96e3be33b18bc4 /vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb
parent91633ac4419d839661e35ae8f2efe5c9089cfb67 (diff)
removed thinking_sphinx plugin and replaced it with gem.
also tuned dependencies
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb')
-rw-r--r--vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb b/vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb
deleted file mode 100644
index c4fbe20d..00000000
--- a/vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb
+++ /dev/null
@@ -1,15 +0,0 @@
1When /^I destroy gamma (\w+) without callbacks$/ do |name|
2 @results = nil
3 gamma = Gamma.find_by_name(name)
4 Gamma.delete(gamma.id) if gamma
5end
6
7Then "I should get a single result of nil" do
8 results.should == [nil]
9end
10
11Then /^I should get a single gamma result with a name of (\w+)$/ do |name|
12 results.length.should == 1
13 results.first.should be_kind_of(Gamma)
14 results.first.name.should == name
15end