Rationale would be like so: RSpec.configure do |c| c.add_path_exception /dummy/ c.add_path_exceptions [ /dummy/, /app/ ] end
WDYT? Thanks, Nalesso Antonio On Wednesday, 13 November 2013 04:24:18 UTC, Nalesso Moreira wrote: > > Hi there, > My test suite is failing because rspec is loading the tests of a rails > dummy > app located in spec/dummy/spec/**/*.rb. > > Here is a better explanation: > > Given a dir spec > And I have a rails app in spec/dummy > When I run rspec command > Then rspec should not load tests in spec/dummy/spec/**/*.rb > And all my tests mustt pass > > Does anybody know how I could sort of add_exception like autotest > does not to fetch/load this particular dir? > > With regards, > Nalesso Moreira > -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/1a6f7aa0-c943-4e46-930b-4f1b2a7681da%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
