Skip to content

Instantly share code, notes, and snippets.

@plukevdh
Created July 22, 2014 20:42
Show Gist options
  • Select an option

  • Save plukevdh/a374b1ffaeb409e54fa7 to your computer and use it in GitHub Desktop.

Select an option

Save plukevdh/a374b1ffaeb409e54fa7 to your computer and use it in GitHub Desktop.
escaped_path missing?
RSpec.configure do |config|
config.include InputExampleGroup, type: :input, example_group: {
file_path: config.escaped_path(%w[spec inputs])
}
end
@plukevdh
Copy link
Author

Golden. I had assumed this was a private API but found it in use in our codebase during the upgrade and needed a way to correct. Magical hacks.

@cforcey
Copy link

cforcey commented Oct 31, 2014

Thanks for this gist -- got me out of a similar bind. Appreciate the revised method myronmarston!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment