I want to be able to run a single spec file's tests — for the one file I'm editing, for example. rake spec
executes all the specs. My project is not a Rails project, so rake spec:doc
doesn't work.
Don't know if this matters, but here is my directory structure.
./Rakefile ./lib ./lib/cushion.rb ./lib/cushion ./lib/cushion/doc.rb ./lib/cushion/db.rb ./spec ./spec/spec.opts ./spec/spec_helper.rb ./spec/db_spec.rb