test/dummy/test/controllers/books_controller_test.rb in edgarj-4.06.00 vs test/dummy/test/controllers/books_controller_test.rb in edgarj-4.06.01
- old
+ new
@@ -105,11 +105,11 @@
assert_response :success
assert_equal 1, assigns(:list).count
end
should 'search with operator' do
- xhr :get, :search, edgarj_search_form: {_id: @book.id},
- edgarj_search_form: {
+ xhr :get, :search, edgarj_search_form: {
+ _id: @book.id,
edgarj_search_form_operator: {
_id: '<>'
}
}
assert_response :success