ruby on rails - How can I configure RSpec to run my model tests? -


no matter do, tests run rake test command in spec/requests. naturally, run everything in spec directory.

i thought getting gem , installing rspec it, seems these testing libraries whole "convention on configuration" thing turned on head. there's hell of lot of configuration.

i want run of tests. how can that?

what rakefile like? may need add following:

require 'rspec/core/rake_task' rspec::core::raketask.new 

also, check spec's filenames end in _spec.rb.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -