Sha256: 39adadb412df5f2fca74cd13db3b7162e1fd2402897d66717fb589ee98ccacc9
Contents?: true
Size: 382 Bytes
Versions: 11
Compression:
Stored size: 382 Bytes
Contents
require File.expand_path("../test_helper", __FILE__) class ErrorTest < SearchCop::TestCase def test_parse_error assert_raises SearchCop::ParseError do Product.unsafe_search :title => { :unknown_operator => "Value" } end end def test_unknown_column assert_raises SearchCop::UnknownColumn do Product.unsafe_search "Unknown: Column" end end end
Version data entries
11 entries across 11 versions & 1 rubygems