top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Rails: My spec/features isn't being read by rspec

+1 vote

Could anyone tell me why my spec/features are not being read?
Ruby 2.0Rails 4.0Rspec 2.14.0capybara 2.1.0

It is a fresh 'rails new some_app'. I created a spec/features directory and added a bla.rb with bad syntax to cause it to fail, when I run rspec it says 0 examples and 0 failures. Am I doing something wrong?

posted Oct 13, 2013 by Meenal Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Try rename your file to bla_spec.rb

answer Oct 13, 2013 by Sonu Jindal