spec/keytar/key_builder_spec.rb in keytar-1.1.0 vs spec/keytar/key_builder_spec.rb in keytar-1.2.0

- old
+ new

@@ -73,10 +73,10 @@ before do @options.merge!(:prefix => "prefix", :base => "base", :name => "name", :suffix => "suffix", :version => 1) end it "converts a hash to an array based on default order" do - Foo.key_hash_to_ordered_array(@options).should == [@options[:prefix], @options[:base], @options[:name], @options[:unique], @options[:suffix], @options[:version], @options[:v]] + Foo.key_hash_to_ordered_array(@options).should == [@options[:shard], @options[:prefix], @options[:base], @options[:name], @options[:unique], @options[:suffix], @options[:version], @options[:v]] end it "order output using direct option before class config" do Foo.should_not_receive(:key_order) key_order = [:prefix, :base, :name, :unique, :args, :suffix, :version, :v].reverse \ No newline at end of file