'Show that a user can update the reference.'

def test_update(self):

    self.instance.update('fakesha', True)
    try:
        self.session.patch.assert_called_once_with(reference_url_for(), data='{"force":    true,    "sha":    "fakesha"}')
    except AssertionError:
        self.session.patch.assert_called_once_with(reference_url_for(), data='{"sha":    "fakesha",    "force":    true}')
