Hello All,

a-la cucumber:
Feature: Spec runs Integrations
  Scenario: When code changes, Integration specs run
    Given a rails app with controllers, models, view, helpers
    And a spec under spec/integration
    When code changes in app
    Then specs under spec/integration are run.

So, in .autospec


Autotest.add_hook :initialize do |at|
  at.add_mapping(%r%^app/(.*)\.rb$%) {
    at.files_matching %r%^spec/integration/.*_spec\.rb$%
  }

  at.find_directories << 'spec/integration'
end

This is my best guess.  Could somone show me the .autospec that correclty
accomplishes the story above?

I'm feeling dense right now, so feel free to point out the painfully
obvious, even including which page in RSpec book spells out my density.

Thanks all!

Peter Fitzgibbons
(847) 687-7646
Email: peter.fitzgibb...@gmail.com
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibb...@gmail.com
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to