diff --git a/fastlane/spec/private_public_fastfile_spec.rb b/fastlane/spec/private_public_fastfile_spec.rb
index <HASH>..<HASH> 100644
--- a/fastlane/spec/private_public_fastfile_spec.rb
+++ b/fastlane/spec/private_public_fastfile_spec.rb
@@ -25,6 +25,7 @@ describe Fastlane do
       end
 
       it "doesn't expose the private lanes in `fastlane lanes`" do
+        require 'fastlane/lane_list'
         result = Fastlane::LaneList.generate(path)
         expect(result).to include("such smooth")
         expect(result).to_not include("private call")
Fix NameError when running single rspec (#<I>)

Running below command cause NameError: uninitialized constant Fastlane::LaneList.

This fix the issue.



```

rspec fastlane/spec/private_public_fastfile_spec.rb

```