Skip to content

Commit bc4362d

Browse files
committed
Fix Rex MySQL wrapper test to have correct method symbol
1 parent d8abd2b commit bc4362d

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)