没有合适的资源?快使用搜索试试~ 我知道了~
email-example-spec:使用电子邮件示例进行集成测试
共29个文件
rb:12个
md:4个
yml:3个
需积分: 5 0 下载量 140 浏览量
2021-06-12
16:56:35
上传
评论
收藏 16KB ZIP 举报
温馨提示
电子邮件示例规范 用于电子邮件模板的 VCR。 安装 gem 'email-example-spec' 配置 在spec/spec_helper.rb 中配置邮件设备的根目录。 EmailExampleSpec . configure do | config | config . record = true # record new e-mails, don't commit this! config . fixture_path = File . join ( Rails . root , 'spec/support/fixtures/emails' ) end 用法 describe WelcomeMailer do let ( :user ) { User . new } subject do WelcomeMailer . welcome ( us
资源推荐
资源详情
资源评论
收起资源包目录
email-example-spec-master.zip (29个子文件)
email-example-spec-master
.travis.yml 16B
Rakefile 317B
.rubocop.yml 87B
CONTRIBUTING.md 3KB
Gemfile 107B
.rspec 31B
spec
email-example-spec
version_spec.rb 138B
rspec
match_email_example_in_plain_text_spec.rb 539B
match_email_example_multipart_spec.rb 621B
match_email_example_in_html_spec.rb 534B
support
templates
rspec
match_email_example_in
welcome_mail.html.erb 112B
welcome_mail.text.erb 79B
fixtures
rspec
match_email_example_in
welcome_mail.txt 321B
welcome_mail.multipart 640B
welcome_mail.html 355B
spec_helper.rb 365B
LICENSE.md 1KB
.gitignore 17B
CHANGELOG.md 134B
lib
email-example-spec
config.rb 125B
rspec
match_email_example_in.rb 305B
fixture.rb 523B
version.rb 48B
email
content.rb 335B
email_example_spec.rb 29B
email-example-spec.rb 394B
.rubocop_todo.yml 791B
README.md 1KB
email-example-spec.gemspec 572B
共 29 条
- 1
资源评论
星见勇气
- 粉丝: 22
- 资源: 4737
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功