lib/speedos/performance.rb in speedos-0.0.12 vs lib/speedos/performance.rb in speedos-0.0.13
- old
+ new
@@ -19,9 +19,9 @@
page.server.stop
end
def finialise_record(log, success)
record = Record.create(log: log, success: success)
- record.refresh_information
+ record.refresh_information if success
end
end
end