require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require "opt_builder" describe OptBuilder, "when first created" do before :each do @opt_instance = OptBuilder.new end it "lets me describe singular command line options" do OptBuilder.should respond_to "single_opt" end it "lets me assign values to singular command line options" do @opt_instance.single_opt :option @opt_instance.should respond_to "option" end end