tests: fix FactoryGirl reference.

This commit is contained in:
evazion
2018-05-03 20:37:23 -05:00
parent 96669ca4b5
commit 59ab9820b0

View File

@@ -85,7 +85,7 @@ class StorageManagerTest < ActiveSupport::TestCase
end
should "return the correct url for flash files" do
@post = FactoryGirl.create(:post, file_ext: "swf")
@post = FactoryBot.create(:post, file_ext: "swf")
@storage_manager.stubs(:base_url).returns("/data")
assert_equal("/images/download-preview.png", @storage_manager.file_url(@post, :preview))