Be careful with this. It's easy for both to just happen to be nil. I'd say something like:

```ruby
board.name = 'blah'
board.to_s.should == 'blah'
```