awead/lcsh_suggest — pull request #1 by cokernel (2013-08-21 17:42:08+00:00)
Title: use assigns(:results) instead of @results in spec

I was able to make the tests pass by using `assigns(:results)` instead of `@results` in the spec for TermController:

```ruby
it "should return a set of terms for a given query" do
get :index, { :use_route => :lcsh_suggest, :q => "Blues" }
expect(assigns(:results)).not_to be_nil
end
```

I took the liberty of switching from `eval` to `JSON.parse` in the TermController itself.