diff options
Diffstat (limited to 'spec/rails_helper.rb')
-rw-r--r-- | spec/rails_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 3c810eb9e..c83051d62 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -30,3 +30,7 @@ end def request_fixture(name) File.read(File.join(Rails.root, 'spec', 'fixtures', 'requests', name)) end + +def attachment_fixture(name) + File.open(File.join(Rails.root, 'spec', 'fixtures', 'files', name)) +end |