spec/factory/test_factor_predicate.rb in predicate-1.0.0 vs spec/factory/test_factor_predicate.rb in predicate-1.1.0
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
class Predicate
describe Factory, "_factor_predicate" do
- subject{ Factory._factor_predicate(arg) }
+ subject{ Factory.send(:_factor_predicate, arg) }
context "on Expr" do
let(:arg){ Grammar.sexpr([:literal, 12]) }
it{ should be(arg) }