spec/sprinkle/configurable_spec.rb in sprinkle-0.3.3 vs spec/sprinkle/configurable_spec.rb in sprinkle-0.3.4

- old
+ new

@@ -1,6 +1,6 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require File.expand_path("../spec_helper", File.dirname(__FILE__)) describe Sprinkle::Configurable do module MyPrefix class Configurable include Sprinkle::Configurable @@ -30,10 +30,10 @@ it 'should maintain an options hash set arbitrarily via method missing' do @configurable.instance_eval do hsv 'gts' end - @configurable.hsv.should == 'gts' + @configurable.hsv.first.should == 'gts' end it 'should allow the delivery instance variable to be accessed' do @configurable.delivery = "string" @configurable.instance_variable_get(:@delivery).should eql("string") \ No newline at end of file