test.rb

来自「基于ruby的进阶编程,大家可以对照教材<<Ruby on Rail」· RB 代码 · 共 19 行

RB
19
字号
# Settings specified here will take precedence over those in config/environment.rb# The test environment is used exclusively to run your application's# test suite.  You never need to work with it otherwise.  Remember that# your test database is "scratch space" for the test suite and is wiped# and recreated between test runs.  Don't rely on the data there!config.cache_classes = true# Log error messages when you accidentally call methods on nil.config.whiny_nils    = true# Show full error reports and disable cachingconfig.action_controller.consider_all_requests_local = trueconfig.action_controller.perform_caching             = false# Tell ActionMailer not to deliver emails to the real world.# The :test delivery method accumulates sent emails in the# ActionMailer::Base.deliveries array.config.action_mailer.delivery_method = :test

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?