require 'test_helper' class TestPhoto < ::Test::Unit::TestCase def test_create_photo photo = MLS::Photo.create(TEST_IMAGE) assert photo.id assert photo.digest end end TEST_IMAGE = StringIO.new(Base64.decode64(<