Skip to content

Commit e05a63b

Browse files
authored
Updated spec synthax to work on JRuby 9.4 (#215)
1 parent fc2df01 commit e05a63b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/filters/geoip_offline_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
CONFIG
113113

114114
context "should return the correct sourcefield in the logging message" do
115-
sample("ip" => "8.8.8.8") do
115+
sample({"ip" => "8.8.8.8"}) do
116116
expect { subject }.to raise_error(java.lang.IllegalArgumentException, "The database provided is invalid or corrupted.")
117117
end
118118
end

0 commit comments

Comments
 (0)