fix AjaxDatabaseRails::base#search_condition for namespaced model

convert rspec syntax to latest using transpec gem