Logo: Relish

  1. Sign in

Project: RSpec Rails 6.0

Request generator spec

Scenarios
Request generator
When
I run bundle exec rails generate rspec:request posts
Then
the features should pass
Then
the output should contain:
      create  spec/requests/posts_spec.rb
Request generator with customized `default-path`
Given
a file named ".rspec" with:
--default-path behaviour
And
I run bundle exec rails generate rspec:request posts
Then
the features should pass
Then
the output should contain:
      create  behaviour/requests/posts_spec.rb

Last published 4 months ago by Jon Rowe.