Sha256: d1f053ac3171a69b42c304f0850a9210d1c7f5637fcbf09b97ee62dc6c176e5e
Contents?: true
Size: 915 Bytes
Versions: 3
Compression:
Stored size: 915 Bytes
Contents
require '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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
memory_profiler-0.0.3 | test/test_helpers.rb |
memory_profiler-0.0.2 | test/test_helpers.rb |
memory_profiler-0.0.1 | test/test_helpers.rb |