Could we do this in the spec at all?

```ruby
  @package.stub(:lib_files).and_return( @package.lib_files.sort_by { |f| f.relative_path } )
```