spec/dynamoid/indexes/index_spec.rb in dynamoid-0.4.1 vs spec/dynamoid/indexes/index_spec.rb in dynamoid-0.5.0

- old
+ new

@@ -55,11 +55,9 @@ it 'accepts values from an object and returns changed values' do @user = User.new(:name => 'Josh', :password => 'test123', :created_at => @time) @user.name = 'Justin' - @index.values(@user, true).should == {:hash_value => 'Josh.test123', :range_value => @time.to_f} - @index.values(@user).should == {:hash_value => 'Justin.test123', :range_value => @time.to_f} end it 'saves an object to the index it is associated with' do @index = Dynamoid::Indexes::Index.new(User, :name)