spec/features/rule_spec.rb in marty-2.3.10 vs spec/features/rule_spec.rb in marty-2.3.11
- old
+ new
@@ -332,9 +332,10 @@
xrv.select_row(1)
press("Edit")
fill_in("Range Guard 1", with: "[100,200)")
fill_in("Range Guard 2", with: "[30,40)")
press("OK")
+ wait_for_ajax
r = Gemini::XyzRule.get_matches('infinity', {}, {"g_range1"=> 150,
"g_range2"=> 35})
expect(r.to_a.count).to eq(1)
exp = {"user_id"=>1,