Skip to content

Commit c47ac22

Browse files
committed
Fix a mistake in specs for transactional #update_fields
1 parent 1e88d58 commit c47ac22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/dynamoid/transaction_write/update_fields_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989
expect {
9090
described_class.execute do |t|
91-
t.update_fields klass_with_composite_key, nil, name: 'Alex [Updated]'
91+
t.update_fields klass, nil, name: 'Alex [Updated]'
9292
end
9393
}.to raise_exception(Dynamoid::Errors::MissingHashKey)
9494
end

0 commit comments

Comments
 (0)