Skip to content

Instantly share code, notes, and snippets.

@rhiroyuki
Created January 3, 2019 19:16
Show Gist options
  • Save rhiroyuki/c367aac1a65cb5cd2f65c3e380d4d2e1 to your computer and use it in GitHub Desktop.
Save rhiroyuki/c367aac1a65cb5cd2f65c3e380d4d2e1 to your computer and use it in GitHub Desktop.
sinatra/padrino/not rails application rspec not loading support files

Add this in spec_helper.rb

Dir[File.expand_path(File.join(File.dirname(__FILE__), 'support', '**', '*.rb'))].each { |f| require f }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment