require "test_helper"

class GemfileParserTest < ActiveSupport::TestCase
  GEMFILE = File.read File.expand_path("../fixtures/gemfile", __dir__)

  test "returns gems status for a given Gemfile" do
    gems   = Rubygem.all
    result = GemfileParser.gems_status GEMFILE

    assert_equal gems, result
  end
end

require "test_helper"
require_relative "../../lib/gemfile_parser"

class GemfileParserTest < ActiveSupport::TestCase
  GEMFILE = File.read File.expand_path("../fixtures/gemfile", __dir__)

  test "returns gems status for a given Gemfile" do
    gems   = Rubygem.all
    result = GemfileParser.gems_status GEMFILE

    assert_equal gems, result
  end
end

Fix uninitialized constant error in test
Fix uninitialized constant error in test
