I have a class that laod config file from config/config.yml
.
class Example
def initialize
config = YAML.load_file('config/config.yml')
end
end
I have created proyect/spec/config/config.yml
example file but when I run the test it try load file proyect/config/config.yml
.
How I change rspec working directory?