rspec double with attributes