aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 9d5e1ef54..23538ebd5 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -31,9 +31,9 @@ def receive_incoming_mail(email_name, email_to, email_from = 'geraldinequango@lo
RequestMailer.receive(content)
end
-def load_image_fixture(image_name)
- image_name = File.join(Spec::Runner.configuration.fixture_path, image_name)
- content = File.read(image_name)
+def load_file_fixture(file_name)
+ file_name = File.join(Spec::Runner.configuration.fixture_path, file_name)
+ content = File.read(file_name)
return content
end