Module: RSpec::Rails::App::Debug
- Defined in:
- lib/rspec_for_generators/rails_helpers/rails_app.rb
Instance Method Summary collapse
- #rails_app_files ⇒ Object
- #rails_controller_files ⇒ Object
- #rails_files ⇒ Object
- #rails_helper_files ⇒ Object
- #rails_initializer_files ⇒ Object
- #rails_javascript_files ⇒ Object
- #rails_locale_files ⇒ Object
- #rails_migration_files ⇒ Object
- #rails_model_files ⇒ Object
- #rails_stylesheet_files ⇒ Object
- #rails_view_files ⇒ Object
Instance Method Details
#rails_app_files ⇒ Object
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_files ⇒ Object
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_files ⇒ Object
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_files ⇒ Object
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_files ⇒ Object
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_files ⇒ Object
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_files ⇒ Object
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_files ⇒ Object
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_files ⇒ Object
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 |