spec/lib/helpers.rb in wvanbergen-request-log-analyzer-1.2.7 vs spec/lib/helpers.rb in wvanbergen-request-log-analyzer-1.2.8
- old
+ new
@@ -1,9 +1,9 @@
module RequestLogAnalyzer::Spec::Helpers
# Create or return a new TestingFormat
def testing_format
- @testing_format ||= TestingFormat.new
+ @testing_format ||= TestingFormat.create
end
# Load a log file from the fixture folder
def log_fixture(name, extention = "log")
File.dirname(__FILE__) + "/../fixtures/#{name}.#{extention}"