Sha256: f10292fca90df016bad8a80bbcfb6b1b377f36f8864ffd17fa8ea94aadac73f4

Contents?: true

Size: 542 Bytes

Versions: 3

Compression:

Stored size: 542 Bytes

Contents

module Spec
  module DSL
    class Configuration
      attr_writer :use_transactional_fixtures, :use_instantiated_fixtures, :fixture_path, :global_fixtures
      
      def use_transactional_fixtures
        @use_transactional_fixtures ||= true
      end
      
      def use_instantiated_fixtures
        @use_instantiated_fixtures ||= false
      end
      
      def fixture_path
        @fixture_path ||= RAILS_ROOT + '/spec/fixtures'
      end
      
      def global_fixtures
        @global_fixtures ||= []
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
has_finder-0.1.2 spec/rails/vendor/plugins/rspec_on_rails/lib/spec/dsl/configuration.rb
has_finder-0.1.1 spec/rails/vendor/plugins/rspec_on_rails/lib/spec/dsl/configuration.rb
has_finder-0.1.3 spec/rails/vendor/plugins/rspec_on_rails/lib/spec/dsl/configuration.rb