diff --git a/spec/ruby-lint/file_scanner_spec.rb b/spec/ruby-lint/file_scanner_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ruby-lint/file_scanner_spec.rb
+++ b/spec/ruby-lint/file_scanner_spec.rb
@@ -23,6 +23,12 @@ describe RubyLint::FileScanner do
     scanner.directories.include?(app).should == false
   end
 
+  example 'glob Ruby source files in a single directory' do
+    scanner = RubyLint::FileScanner.new([@lib_dir])
+
+    scanner.glob_ruby_files.empty?.should == false
+  end
+
   example 'glob Ruby source files in multiple directories' do
     scanner = RubyLint::FileScanner.new([@lib_dir, @rails_dir])
Test for globbing files in a single directory.