Skip to content

Commit 1731565

Browse files
Land rapid7#18901, Fix Rex MySQL wrapper test to have correct method symbol
2 parents a0dc757 + bc4362d commit 1731565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/rex/proto/mysql/client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[
1010
{ method: :peerhost, return_type: String },
1111
{ method: :peerport, return_type: Integer },
12-
{ method: :database_name, return_type: String }
12+
{ method: :current_database, return_type: String }
1313
].each do |method_hash|
1414
it { is_expected.to respond_to method_hash[:method] }
1515
end

0 commit comments

Comments
 (0)