spec/unit/grammar/matching/test_compile_rules.rb in sexpr-0.6.0 vs spec/unit/grammar/matching/test_compile_rules.rb in sexpr-1.0.0
- old
+ new
@@ -15,10 +15,10 @@
!ruby/regexp /^[a-z]+$/
YAML
}
let(:rules){
- YAML.load(yaml)
+ Sexpr.load_yaml(yaml)
}
subject{ compile_rules(rules) }
it{ should be_a(Hash) }