FactoryGirl.define do
  factory :transaction do
    sender 
    receiver
    activity
    balance
    image
    amount 100
  end
end

FactoryGirl.define do
  factory :transaction do
    sender
    receiver
    activity
    balance
    image File.new(Rails.root + 'spec/fixtures/images/rails.png')
    amount 100
  end
end

Create new file in FactoryGirl image to fix tests
Create new file in FactoryGirl image to fix tests
