diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-08-20 14:59:46 -0300 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-08-21 10:50:11 -0300 |
commit | 44e1ff7a6ce3329f747cb6a52c91bc47a0c8c93c (patch) | |
tree | fd7162b4e61286c3f8a4dd31a2cbb1006bd4b64e /fake-service/features/step_definitions/compose.rb | |
parent | d63d4b489af735651cee9d50357aa84106a19cd2 (diff) |
removing fake service
Diffstat (limited to 'fake-service/features/step_definitions/compose.rb')
-rw-r--r-- | fake-service/features/step_definitions/compose.rb | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/fake-service/features/step_definitions/compose.rb b/fake-service/features/step_definitions/compose.rb deleted file mode 100644 index e92d16f6..00000000 --- a/fake-service/features/step_definitions/compose.rb +++ /dev/null @@ -1,27 +0,0 @@ -Given /^I compose a message with$/ do |table| - find('#compose-mails-trigger').click - data = table.hashes.first - fill_in('Subject', with: data['subject']) - fill_in('Body', with: data['body']) -end - -Given /^for the '(.*)' field I type '(.*)' and chose the first contact that shows$/ do |recipients_field, to_type| - recipients_field.downcase! - within("#recipients-#{recipients_field}-area") do - find('.tt-input').native.send_keys(to_type) - sleep 1 - first('.tt-dropdown-menu div div').click - end -end - -Given /^I save the draft$/ do - click_button("Save Draft") -end - -When /^I open the saved draft and send it$/ do - step "I select the tag 'drafts'" - step "I open the first mail in the mail list" - page.should_not have_css("#send-button[disabled]") - click_button('Send') - find('#user-alerts').should have_content("Your message was sent!") -end |