-1 on these odd `it` blocks.  I'd suggest something like this for improved readability.

```ruby
let(:provision!) { Socialcast::CommandLine::Provision.new(ldap_with_profile_photo, {}).sync_photos }

context 'for a binary file' do
  let(:photo_data) { "\x89PNGabc" }
  before do
    RestClient.should_not_receive(:get)
    provision!
  end
  it 'uses the original binary to upload the photo' do end
end
```