diff --git a/web/spec/support/snapshot.rb b/web/spec/support/snapshot.rb index 50ff51b4c..e77123edf 100644 --- a/web/spec/support/snapshot.rb +++ b/web/spec/support/snapshot.rb @@ -1,6 +1,8 @@ module Snapshot - def set_up_snapshot(filepath = 'tmp/snapshots.html') + SS_PATH = 'snapshots.html' + + def set_up_snapshot(filepath = SS_PATH) @size = [1280, 720] #arbitrary @file = File.new(filepath, "w+") @file.puts ""