For learning purposes I am using the services of Travis-CI to perform integration testing continues on a personal project. When running the test locally all pass, without errors. However, when running on Travis-CI there is this return.
Well, the error is quite clear, saying that it is not finding the data and so the error returns.
To do so, I created some Factories to test my models. They are inserted into the bank during the process.
FactoryGirl.define do
factory :article do
title "Title for Test"
description ""
body "Body for Test"
position_image_highlighted "none"
end
factory :tag do
name "Name for Test"
end
factory :slide do
title "Title for Test"
link "Link for test"
image "Image way for test"
end
end
However, apparently this does not happen in Travis-CI. Someone has already gone through this and can give a solution.