Class: Pluto::Test

Inherits:
Object
  • Object
show all
Defined in:
lib/pluto/models.rb

Overview

let’s put test configuration in its own namespace / module

Class Method Summary collapse

Class Method Details

.data_dirObject

todo/fix: find a better way to configure shared test datasets - why? why not?

note: use one-up (..) directory for now as default - why? why not?


119
# File 'lib/pluto/models.rb', line 119

def self.data_dir()        @data_dir ||= '../test'; end

.data_dir=(path) ⇒ Object



120
# File 'lib/pluto/models.rb', line 120

def self.data_dir=( path ) @data_dir = path; end