What about something like:

```ruby
mocked_set = mock(:specification => spec, :version => '1.0')
```