summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/step_definitions/cat_steps.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/step_definitions/cat_steps.rb')
-rw-r--r--vendor/plugins/thinking-sphinx/features/step_definitions/cat_steps.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/step_definitions/cat_steps.rb b/vendor/plugins/thinking-sphinx/features/step_definitions/cat_steps.rb
new file mode 100644
index 0000000..82b8b7f
--- /dev/null
+++ b/vendor/plugins/thinking-sphinx/features/step_definitions/cat_steps.rb
@@ -0,0 +1,3 @@
1When /^I destroy cat (\w+)$/ do |name|
2 Cat.find_by_name(name).destroy
3end \ No newline at end of file