lib/mongo-fixture.rb in mongo-fixture-0.0.5 vs lib/mongo-fixture.rb in mongo-fixture-0.1.0

- old
+ new

@@ -10,12 +10,17 @@ # Fixture managing class for MongoDB class Fixture ## Class methods - # Returns the current path to the fixtures folder + # @return [String] Returns the current path to the fixtures folder def self.path @@path ||= "test/fixtures" + end + + # Sets the current path to the fixtures folder + def self.path= the_path + @@path = the_path end ## Instance methods # Initializes the fixture handler