Sha256: 77036c7b42e1871c9005ee64e3fff1ef7ea0702c3fb388d067abf36938948d6e
Contents?: true
Size: 924 Bytes
Versions: 6
Compression:
Stored size: 924 Bytes
Contents
require_relative 'test_helper' module MemoryProfiler class TestHelpers < Minitest::Test def assert_gem_parse(expected, path) assert_equal(expected, Helpers.guess_gem(path)) end def test_rubygems_parse assert_gem_parse( "rubygems", "/home/sam/.rbenv/versions/ruby-head/lib/ruby/2.1.0/rubygems/version.rb") end def test_standard_parse assert_gem_parse( "rails_multisite", "/home/sam/Source/discourse/vendor/gems/rails_multisite/lib") end def test_another_standard_parse assert_gem_parse( "activesupport-3.2.12", "/home/sam/.rbenv/versions/ruby-head/lib/ruby/gems/2.1.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb") end def test_app_path_parse assert_gem_parse( "discourse/app", "/home/sam/Source/discourse/app/assets") end end end
Version data entries
6 entries across 6 versions & 1 rubygems