instance method
ensure_current_path
Ruby on Rails 6.1.7.10
Since v5.2.8.1 Last seen in v7.0.10 PrivateSignature
ensure_current_path()
No documentation comment.
Source
# File railties/lib/rails/generators/testing/behaviour.rb, line 95
def ensure_current_path
cd current_path
end
Defined in railties/lib/rails/generators/testing/behaviour.rb line 95
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::Testing::Behaviour