Last active
May 31, 2017 11:05
-
-
Save yukas/a855ce73df1f2527163e14740ad0782b to your computer and use it in GitHub Desktop.
Violation of "Single Level of Abstraction" rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AddAttendeePage | |
def add_attendee_with_details | |
fill_in('user_email', with: 'test@gmail.com') | |
fill_in('user_first_name', with: 'test') | |
fill_in('user_last_name', with: 'test') | |
fill_order_form | |
click_add_attendee | |
end | |
private | |
def fill_order_form | |
# ... | |
end | |
def click_add_attendee | |
# ... | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment