-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
What Ruby, Rails and RSpec versions are you using?
Ruby version: 3.0
Rails version: 6.1.3.2
RSpec version: main
Other RSpec configuration
RSpec is configured to use behaviour
directory i.e.
RSpec.configure do |c|
c.default_path = "behavior"
end
Observed behaviour
When running rspec generator by default spec
directory got chosen
$ rails generate rspec:model user
...
create spec/models/user_spec.rb
...
Expected behaviour
Generator should place file inside behaviour
directory instead.
$ rails generate rspec:model user
...
create behaviour/models/user_spec.rb
...
Can you provide an example app?
I don't have any at the moment.
pirj
Metadata
Metadata
Assignees
Labels
No labels