Jump to content

The ultimate community for Ruby on Rails developers.


Photo

Calling spec_helper file

rspec ruby-on-rails-4 test

  • Please log in to reply
No replies to this topic

#1 dailammoc

dailammoc

    Dispatcher

  • Members
  • 37 posts
  • Location/

Posted 15 April 2014 - 09:54 AM

I'm new in rspec test. My spec directory contain various subfolders: controllers, models, views, requests, helpers(all helper files located here) etc. So if I want to call(require) /helpers/crud_helper_spec.rb from /controllers/crud_contrller_spec.rb. What should I do?







Also tagged with one or more of these keywords: rspec, ruby-on-rails-4, test

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users