Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 48 lines (45 sloc) 1.627 kb
696f138 @topfunky Initial attempts to use ExtendedDocument
authored
1 # This file is copied to ~/spec when you run 'ruby script/generate rspec'
2 # from the project root directory.
3 ENV["RAILS_ENV"] ||= 'test'
4 require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
5 require 'spec/autorun'
6 require 'spec/rails'
7
8 Spec::Runner.configure do |config|
9 # If you're not using ActiveRecord you should remove these
10 # lines, delete config/database.yml and disable :active_record
11 # in your config/boot.rb
12 config.use_transactional_fixtures = true
13 config.use_instantiated_fixtures = false
14 config.fixture_path = RAILS_ROOT + '/spec/fixtures/'
15
16 # == Fixtures
17 #
18 # You can declare fixtures for each example_group like this:
19 # describe "...." do
20 # fixtures :table_a, :table_b
21 #
22 # Alternatively, if you prefer to declare them only once, you can
23 # do so right here. Just uncomment the next line and replace the fixture
24 # names with your fixtures.
25 #
26 # config.global_fixtures = :table_a, :table_b
27 #
28 # If you declare global fixtures, be aware that they will be declared
29 # for all of your examples, even those that don't use them.
30 #
31 # You can also declare which fixtures to use (for example fixtures for test/fixtures):
32 #
33 # config.fixture_path = RAILS_ROOT + '/spec/fixtures/'
34 #
35 # == Mock Framework
36 #
37 # RSpec uses it's own mocking framework by default. If you prefer to
38 # use mocha, flexmock or RR, uncomment the appropriate line:
39 #
40 # config.mock_with :mocha
41 # config.mock_with :flexmock
42 # config.mock_with :rr
43 #
44 # == Notes
45 #
46 # For more information take a look at Spec::Runner::Configuration and Spec::Runner
47 end
Something went wrong with that request. Please try again.