Sha256: 62dda6ef009922a812464e312ab7c96a0078a3409b4bb3d1c3ca2f000edd24cb
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
module RSpec::Rails module App def self.debug! self.extend(Debug) end module Debug def rails_files FileList["#{::Rails.root}/**/*.rb"] end def rails_app_files FileList["#{::Rails.root}/app/**/*.rb"] end def rails_model_files FileList["#{::Rails.root}/app/models/**/*.rb"] end def rails_controller_files FileList["#{::Rails.root}/app/controllers/**/*.rb"] end def rails_helper_files FileList["#{::Rails.root}/app/helpers/**/*.rb"] end def rails_view_files FileList["#{::Rails.root}/app/views/**/*.yml"] end def rails_initializer_files FileList["#{::Rails.root}/config/initializers/**/*.rb"] end def rails_migration_files FileList["#{::Rails.root}/db/migration/**/*.rb"] end def rails_locale_files FileList["#{::Rails.root}/config/locales/**/*.yml"] end def rails_javascript_files FileList["#{::Rails.root}/public/javascripts/**/*.yml"] end def rails_stylesheet_files FileList["#{::Rails.root}/public/stylesheets/**/*.yml"] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
generator-spec-0.3.3 | lib/rspec_for_generators/rails_helpers/rails_app.rb |