cs3b/kameleon — pull request #48 by tbprojects (2013-03-25 11:10:28+00:00)
Title: Presence object to s

```see```, ```not_see``` and ```click``` can also work with objects, that respond to overwritten to_s method. Example: You have list of users and you want navigate to someone's profile

Model:
``` ruby
class User < ActiveRecord::Base
def to_s
full_name
end

def full_name
"#{first_name} #{last_name}"
end
end
```

HTML:
``` html

Michal Czyz

Tomasz Bak

```

Spec:
``` ruby
user = User.create(first_name: 'Michal', last_name: 'Czyz')
...
see user
click user
```