This repository was archived by the owner on Feb 9, 2025. It is now read-only.

Description
Absolute paths reuse absolute path within spec folder
Current Behaviour:
codegen /Users/vinnyglennon/src/app/models/redirect.rb
Finding matcher for /Users/vinnyglennon/src/app/models/redirect.rb...
Test file path: spec/Users/vinnyglennon/src/models/redirect_spec.rb
Creating test file if it doesn't exist...
Running codegen...
Expected Behaviour
codegen /Users/vinnyglennon/src/app/models/redirect.rb
Finding matcher for /Users/vinnyglennon/src/app/models/redirect.rb...
Test file path: spec/models/redirect_spec.rb
Creating test file if it doesn't exist...
Running codegen...
Relative paths work fine:
codegen app/models/redirect.rb
Finding matcher for app/models/redirect.rb...
Test file path: spec/models/redirect_spec.rb
Creating test file if it doesn't exist...
Running codegen...