summaryrefslogtreecommitdiff
path: root/py-fake-service/features/step_definitions/search.rb
diff options
context:
space:
mode:
Diffstat (limited to 'py-fake-service/features/step_definitions/search.rb')
-rw-r--r--py-fake-service/features/step_definitions/search.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/py-fake-service/features/step_definitions/search.rb b/py-fake-service/features/step_definitions/search.rb
deleted file mode 100644
index de89759c..00000000
--- a/py-fake-service/features/step_definitions/search.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-When(/^I search for a mail with the words "(.*)"$/) do |search_term|
- search_field = find('#search-trigger input[type="search"]').native
- search_field.send_keys(search_term)
- search_field.send_keys(:return)
-end
-
-Then(/^I see one or more mails in the search results$/) do
- within('#mail-list') do
- all('li').length.should >= 1
- end
-end
-