Sha256: 4f31610463567c6dc34c8a5f12632917a5f888be530e62041c88a753b2faf707
Contents?: true
Size: 539 Bytes
Versions: 11
Compression:
Stored size: 539 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
11 entries across 11 versions & 1 rubygems