summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/step_definitions/alpha_steps.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/step_definitions/alpha_steps.rb')
-rw-r--r--vendor/plugins/thinking-sphinx/features/step_definitions/alpha_steps.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/step_definitions/alpha_steps.rb b/vendor/plugins/thinking-sphinx/features/step_definitions/alpha_steps.rb
new file mode 100644
index 0000000..987b10b
--- /dev/null
+++ b/vendor/plugins/thinking-sphinx/features/step_definitions/alpha_steps.rb
@@ -0,0 +1,3 @@
1When /^I change the name of alpha (\w+) to (\w+)$/ do |current, replacement|
2 Alpha.find_by_name(current).update_attributes(:name => replacement)
3end \ No newline at end of file