RSpec : spec filename should end with _spec

It is important to end filename of every spec files for RSpec with prefix ‘_spec.rb’. You can try it out. The RSpec only executes the specs if filename ends with ‘_spec.rb’ else it ignores the file even if it is a ruby file. Continue reading