mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 00:45:35 -04:00 
			
		
		
		
	removing puts, and fixing File.join
This commit is contained in:
		
							parent
							
								
									7ba1ef6225
								
							
						
					
					
						commit
						609870c264
					
				| @ -7,9 +7,8 @@ | ||||
| #   Mayor.create(name: 'Emanuel', city: cities.first) | ||||
| require 'active_record/fixtures' | ||||
| 
 | ||||
| Dir.glob(File.join(Rails.root, 'test', 'fixtures', '**/*.{yml,csv}')).each do |fixture_file, something| | ||||
|   puts fixture_file | ||||
|   puts File.dirname(fixture_file) | ||||
| #Load defaults from db/seed/fixtures | ||||
| Dir.glob(File.join(Rails.root, 'db', 'seed', 'fixtures', '**', '*.{yml,csv}')).each do |fixture_file, something| | ||||
|   ActiveRecord::Fixtures.create_fixtures(File.dirname(fixture_file), File.basename(fixture_file, '.*')) | ||||
| end | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user