add rspec of attachment