Sha256: 219890bedcf0543bbe6a788264bdcf63b37b34771534b1de49f5187f7196ce5e
Contents?: true
Size: 776 Bytes
Versions: 1
Compression:
Stored size: 776 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'alf' Alf::Lispy.extend(Alf::Lispy) shared_examples_for "An operator class" do it "should not have public set_args, _each and _prepare methods" do operator_class.public_method_defined?(:set_args).should be_false 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 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alf-0.9.0 | spec/spec_helper.rb |