README.md in page-object-0.2 vs README.md in page-object-0.2.1
- old
+ new
@@ -49,10 +49,10 @@
text_field(:username, :id => 'username')
text_field(:password, :id => 'password')
button(:login, :id => 'login')
- def login_with(username, password) do
+ def login_with(username, password)
self.username = username
self.password = password
login
end
end