Casecommons / pg_search

pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
http://www.casebook.net
MIT License
1.35k stars 370 forks source link

Replace ostruct dependency with RSpec double #544

Closed nertzy closed 3 weeks ago

nertzy commented 3 weeks ago

There's no need to introduce the ostruct stdlib gem just for this single object while testing.

This removes a warning about including a stdlib gem without explicitly depending on it.