diff --git a/web/spec/spec_helper.rb b/web/spec/spec_helper.rb index 5c7692759..968e32400 100644 --- a/web/spec/spec_helper.rb +++ b/web/spec/spec_helper.rb @@ -96,7 +96,7 @@ Spork.prefork do config.include Requests::JsonHelpers, type: :request config.include Requests::FeatureHelpers, type: :feature - config.include Snapshots + config.include Snapshot config.before(:suite) do end diff --git a/web/spec/support/snapshot.rb b/web/spec/support/snapshot.rb index 766fa676d..50ff51b4c 100644 --- a/web/spec/support/snapshot.rb +++ b/web/spec/support/snapshot.rb @@ -1,4 +1,4 @@ -module Snapshots +module Snapshot def set_up_snapshot(filepath = 'tmp/snapshots.html') @size = [1280, 720] #arbitrary