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
Post a Comment