[rspec-users] configuration options
dchelimsky at gmail.com
Thu Dec 2 15:08:24 EST 2010
On Dec 2, 2010, at 1:34 PM, Andy Koch wrote:
> is there a listing of the Spec::Runner configuration options
For RSpec-1: http://rdoc.info/gems/rspec/1.3.1/Spec/Runner/Configuration
For RSpec 2, the options get defined via metaprogramming (a great example of the downside of metaprogramming), and are not well documented. That said, if you do this:
RSpec.configure do |config|
> I'm looking for a document (code is ok) that lists all the available
> options and their purpose.
> I can see from my code that these exist...
> Spec::Runner.configure do |config|
> config.use_transactional_fixtures = true
> config.use_instantiated_fixtures = false
> config.fixture_path = Rails.root + '/spec/fixtures/'
> but I'm curious to see what else is available.
> I've googled and searched in rdoc but I can't find even these options
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users