Sha256: 5c563637d4f9299967f3a005d576ca2988df6ad806711961cb6e276153943b32
Contents?: true
Size: 537 Bytes
Versions: 4
Compression:
Stored size: 537 Bytes
Contents
require File.join(File.dirname(File.expand_path(__FILE__)), "/../spec_helper.rb") describe Object, "with extensions" do it "should have unique methods on an object" do INTERPRETER.unique_methods.should include(:preview) end it "should have unique methods on a class" do AutomateIt::Interpreter.unique_methods.should include(:invoke) end it "should parse arguments and options" do args, opts = args_and_opts(:foo, :bar, :baz => :quux) args.should == [:foo, :bar] opts.should == {:baz => :quux} end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
automate-it-0.9.2 | spec/unit/object_spec.rb |
automate-it-0.9.1 | spec/unit/object_spec.rb |
automate-it-0.9.0 | spec/unit/object_spec.rb |
automateit-0.80624 | spec/unit/object_spec.rb |