Here is a thread I looked at:
How to run a single RSpec test?
One answer says to use rspec
to run tests. Another answer (originally?) said to use rake spec
to run tests but then a commenter said it's spec
not rake spec
. And I have some notes on using rspec that say:
#RSpec prefix not required if you run your program
#with `spec` command
RSpec.describe 'some task' do
it 'blah blah blah' do
true
end
end
I can find no information on the spec
command, and it doesn't appear to exist on my system:
$ which rspec
/Users/7stud/.rvm/gems/ruby-2.2.1/bin/rspec
$ which spec
$
Is the spec
command a rails feature?