系统生成器规格
系统生成器
当我运行bundle exec rails generate rspec:system posts
那么功能应该通过
那么输出应该包含
create spec/system/posts_spec.rb
带有自定义default-path
的系统生成器
给定一个名为“.rspec”的文件,其内容为
--default-path behaviour
以及我运行bundle exec rails generate rspec:system posts
那么功能应该通过
那么输出应该包含
create behaviour/system/posts_spec.rb