Skip to content
This repository
Browse code

Fixed styling issues brought up by @jeremy

  • Loading branch information...
commit 773123178eaee60b32661cf1f5c4707dac3eb749 1 parent 37e4e9b
Jason Noble authored April 30, 2012
2  railties/lib/rails/source_annotation_extractor.rb
@@ -51,7 +51,7 @@ def initialize(tag)
51 51
 
52 52
   # Returns a hash that maps filenames under +dirs+ (recursively) to arrays
53 53
   # with their annotations.
54  
-  def find(dirs=Annotation.directories)
  54
+  def find(dirs = Annotation.directories)
55 55
     dirs.inject({}) { |h, dir| h.update(find_in(dir)) }
56 56
   end
57 57
 
3  railties/test/application/rake/notes_test.rb
@@ -13,7 +13,6 @@ def teardown
13 13
       end
14 14
 
15 15
       test 'notes finds notes for certain file_types' do
16  
-
17 16
         app_file "app/views/home/index.html.erb", "<% # TODO: note in erb %>"
18 17
         app_file "app/views/home/index.html.haml", "-# TODO: note in haml"
19 18
         app_file "app/views/home/index.html.slim", "/ TODO: note in slim"
@@ -52,8 +51,8 @@ def teardown
52 51
         end
53 52
 
54 53
       end
55  
-      test 'notes finds notes in default directories' do
56 54
 
  55
+      test 'notes finds notes in default directories' do
57 56
         app_file "app/controllers/some_controller.rb", "# TODO: note in app directory"
58 57
         app_file "config/initializers/some_initializer.rb", "# TODO: note in config directory"
59 58
         app_file "lib/some_file.rb", "# TODO: note in lib directory"

0 notes on commit 7731231

Please sign in to comment.
Something went wrong with that request. Please try again.