Skip to content

spec folder dones't exists #10

@wonderer007

Description

@wonderer007

I want to change deals table to services so when I run
rails_refactor rename Deal Service
I got this error

mv: rename spec/models/deal_spec.rb to spec/models/service_spec.rb: No such file or directory
/Users/haiderali/.rvm/gems/ruby-2.3.0/gems/rails_refactor-1.3/bin/rails_refactor.rb:85:in `read': No such file or directory @ rb_sysopen - spec/models/service_spec.rb (Errno::ENOENT)

I read the documentation and came to know that rails_refactor rename OldModel NewModel command rename model, spec and migration files. since i didn't have spec folder I am getting this error. How can I get rid of this error ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions