Module: RSpec::Rails::App::Debug

Defined in:
lib/rspec_for_generators/rails_helpers/rails_app.rb

Instance Method Summary collapse

Instance Method Details

#rails_app_filesObject



13
14
15
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 13

def rails_app_files
  FileList["#{::Rails.root}/app/**/*.rb"]
end

#rails_controller_filesObject



21
22
23
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 21

def rails_controller_files
  FileList["#{::Rails.root}/app/controllers/**/*.rb"]
end

#rails_filesObject



9
10
11
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 9

def rails_files
  FileList["#{::Rails.root}/**/*.rb"]
end

#rails_helper_filesObject



25
26
27
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 25

def rails_helper_files
  FileList["#{::Rails.root}/app/helpers/**/*.rb"]
end

#rails_initializer_filesObject



33
34
35
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 33

def rails_initializer_files
  FileList["#{::Rails.root}/config/initializers/**/*.rb"]
end

#rails_javascript_filesObject



45
46
47
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 45

def rails_javascript_files
  FileList["#{::Rails.root}/public/javascripts/**/*.yml"]
end

#rails_locale_filesObject



41
42
43
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 41

def rails_locale_files
  FileList["#{::Rails.root}/config/locales/**/*.yml"]
end

#rails_migration_filesObject



37
38
39
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 37

def rails_migration_files
  FileList["#{::Rails.root}/db/migration/**/*.rb"]
end

#rails_model_filesObject



17
18
19
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 17

def rails_model_files
  FileList["#{::Rails.root}/app/models/**/*.rb"]
end

#rails_stylesheet_filesObject



49
50
51
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 49

def rails_stylesheet_files
  FileList["#{::Rails.root}/public/stylesheets/**/*.yml"]
end

#rails_view_filesObject



29
30
31
# File 'lib/rspec_for_generators/rails_helpers/rails_app.rb', line 29

def rails_view_files
  FileList["#{::Rails.root}/app/views/**/*.yml"]
end