Commits

Jason Noble  committed 7731231

Fixed styling issues brought up by @jeremy

  • Participants
  • Parent commits 37e4e9b

Comments (0)

Files changed (2)

File railties/lib/rails/source_annotation_extractor.rb

 
   # Returns a hash that maps filenames under +dirs+ (recursively) to arrays
   # with their annotations.
-  def find(dirs=Annotation.directories)
+  def find(dirs = Annotation.directories)
     dirs.inject({}) { |h, dir| h.update(find_in(dir)) }
   end
 

File railties/test/application/rake/notes_test.rb

       end
 
       test 'notes finds notes for certain file_types' do
-
         app_file "app/views/home/index.html.erb", "<% # TODO: note in erb %>"
         app_file "app/views/home/index.html.haml", "-# TODO: note in haml"
         app_file "app/views/home/index.html.slim", "/ TODO: note in slim"
         end
 
       end
-      test 'notes finds notes in default directories' do
 
+      test 'notes finds notes in default directories' do
         app_file "app/controllers/some_controller.rb", "# TODO: note in app directory"
         app_file "config/initializers/some_initializer.rb", "# TODO: note in config directory"
         app_file "lib/some_file.rb", "# TODO: note in lib directory"