Class: ActiveSupport::TestCase

Inherits:
Object
  • Object
show all
Defined in:
lib/wagons/extensions/test_case.rb

Class Method Summary collapse

Class Method Details

.reset_fixture_path(path) ⇒ Object

Resets the fixtures to the new path



4
5
6
7
8
9
# File 'lib/wagons/extensions/test_case.rb', line 4

def self.reset_fixture_path(path)
  self.fixture_table_names = []
  self.fixture_class_names = {}
  self.fixture_path = path
  fixtures :all
end