spec/lib/keyboard_spec.rb in s3_website-1.0.3 vs spec/lib/keyboard_spec.rb in s3_website-1.1.0
- old
+ new
@@ -47,11 +47,14 @@
deleted_keys.should eq([])
end
def call_keyboard(s3_object_keys, standard_input)
deleted_keys = []
- S3Website::Keyboard.if_user_confirms_delete(s3_object_keys,
- standard_input) { |key|
+ S3Website::Keyboard.if_user_confirms_delete(
+ s3_object_keys,
+ config = {},
+ standard_input
+ ) { |key|
deleted_keys << key
}
deleted_keys
end
end