邮箱生成器规格

邮箱生成器

我运行 `bundle exec rails generate mailbox forwards`

那么功能应该通过

那么输出应该包含

      create  app/mailboxes/forwards_mailbox.rb
      invoke  rspec
      create    spec/mailboxes/forwards_mailbox_spec.rb

具有自定义 `default-path` 的邮箱生成器

给定名为 “.rspec” 的文件,其中包含

--default-path behaviour

并且我运行 `bundle exec rails generate mailbox forwards`

那么功能应该通过

那么输出应该包含

      create  app/mailboxes/forwards_mailbox.rb
      invoke  rspec
      create    behaviour/mailboxes/forwards_mailbox_spec.rb