end of day commit
This commit is contained in:
@@ -28,6 +28,12 @@ module Features
|
||||
submit_form
|
||||
end
|
||||
|
||||
def create_site_pages
|
||||
@home = create :page, name: 'home', layout: 'theme1-home', title: 'Home'
|
||||
@about = create :page, name: 'about', title: 'About mozo'
|
||||
@contact = create :page, name: 'contact', title: 'Contact'
|
||||
end
|
||||
|
||||
def submit_form
|
||||
find("[type=submit]").click
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user