频道生成器规格
频道生成器
当我运行 bundle exec rails generate channel group
那么功能应该通过
那么输出应该包含
invoke rspec
create spec/channels/group_channel_spec.rb
那么输出应该包含
create app/channels/group_channel.rb
使用自定义 default-path
的频道生成器
给定一个名为“.rspec”的文件,其中包含
--default-path behaviour
并且我运行 bundle exec rails generate channel group
那么功能应该通过
那么输出应该包含
invoke rspec
create behaviour/channels/group_channel_spec.rb
那么输出应该包含
create app/channels/group_channel.rb