sunspot/sunspot — pull request #628 by 4r2r (2014-10-28 23:07:22+00:00)
Title: Fix: undefined method data_accessor_for for StubSessionProxy::Search

**Issue description:**

When I try to use sunspot like this:
```ruby
search = Sunspot.new_search(Post)
search.data_accessor_for(Post).include = %i[comments]
```
Everything works :ok: in `development`, but when I try to run `rspec` I get the following error:
```
NoMethodError:
undefined method `data_accessor_for' for #
```
(`::Sunspot.session` is set to `StubSessionProxy` obviously)