Sha256: 117cb4816c2c6ecc9505fa58213c1f7ad335acfc0562cc41b378729c7eaef550
Contents?: true
Size: 481 Bytes
Versions: 17
Compression:
Stored size: 481 Bytes
Contents
require_relative "../../spec_helper.rb" describe Rsense::Server::GemPath do it "returns the list of Gem paths" do Rsense::Server::GemPath.stub :fetch, ["/path/to/the/gems"] do Rsense::Server::GemPath.paths.first.must_match(/\/path\/to\/the\/gems/) end end it "excludes paths inside jruby\'s jars" do Rsense::Server::GemPath.stub :fetch, ["file: file in a jar"] do Rsense::Server::GemPath.paths.wont_include("file: file in a jar") end end end
Version data entries
17 entries across 17 versions & 1 rubygems