Class: SendInvitation

Inherits:
PopUp
  • Object
show all
Includes:
Capybara::DSL
Defined in:
popup_content/SendInvitation.rb

Instance Method Summary collapse

Constructor Details

#initializeSendInvitation

Returns a new instance of SendInvitation.


4
5
6
# File 'popup_content/SendInvitation.rb', line 4

def initialize
  super   
end

Instance Method Details

#close_popupObject


20
21
22
# File 'popup_content/SendInvitation.rb', line 20

def close_popup
  click_button('Close')
end

#send_inviteObject


16
17
18
# File 'popup_content/SendInvitation.rb', line 16

def send_invite
  click_button('Send')
end

#verify_users_email(email) ⇒ Object


8
9
10
11
12
13
14
# File 'popup_content/SendInvitation.rb', line 8

def verify_users_email(email)  
  within(:id, 'popup_content') do
    set_email = find(:id, 'email')
    
    set_email.value.should == email
  end
end