```ruby
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
```

Fix uninitialized constant error in test
user
```ruby
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
```
assistant