For starters, your blueprint needs to read:
Photo.blueprint do
file { File.new(Rails.root.join('spec', 'fixtures', 'photos',
'example.jpg')) }
end
Without the braces, you're creating the File at load time, so load
order might be biting you.
Not sure if that's the issue, but try it and see what happens.
- Pete