We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8638ec1 commit 4e80ab0Copy full SHA for 4e80ab0
spec/jar.rb
@@ -5,6 +5,10 @@
5
@jar_root = __FILE__.split("!").first + "!"
6
end
7
8
+ it "must be only run from a jar" do
9
+ insist { __FILE__ } =~ /file:.*!/
10
+ end
11
+
12
it "must contain GeoLiteCity.dat" do
13
path = File.join(@jar_root, "GeoLiteCity.dat")
14
insist { File }.exists?(path)
0 commit comments