spec/shared/an_operator_class.rb in alf-0.10.1 vs spec/shared/an_operator_class.rb in alf-0.11.0
- old
+ new
@@ -3,17 +3,13 @@
it "should not have public _each and _prepare methods" do
operator_class.public_method_defined?(:_each).should be_false
operator_class.public_method_defined?(:_prepare).should be_false
end
- it "should have a public run method" do
- operator_class.public_method_defined?(:run).should be_true
+ it "should have a public rubycase_name method" do
+ operator_class.should respond_to(:rubycase_name)
end
- it "should have a public pipe method" do
- operator_class.public_method_defined?(:pipe).should be_true
- end
-
it "should have a public each method" do
operator_class.public_method_defined?(:each).should be_true
end
it "should have a unary? class method" do