spec/factory/test_from_hash.rb in predicate-2.0.1 vs spec/factory/test_from_hash.rb in predicate-2.1.0
- old
+ new
@@ -33,10 +33,10 @@
context "when the hash has array values" do
let(:h){ {:x => [12], :y => :z} }
let(:expected){
[:and,
- [:in, [:identifier, :x], [12]],
+ [:in, [:identifier, :x], [:literal, [12]]],
[:eq, [:identifier, :y], [:identifier, :z]]]
}
it_should_behave_like "a predicate AST node"
it{ should be_a(And) }