We should use rspec matchers here
```ruby
record.name.should eq(name)
```