add more specs again for optional urls

This commit is contained in:
Benjamin Neff 2015-09-16 03:01:46 +02:00
parent c3e290465f
commit b748b255f1

View file

@ -66,6 +66,10 @@ module DiasporaFederation
expect(validator).not_to be_valid
expect(validator.errors).to include(prop)
end
it_behaves_like "a url path validator" do
let(:property) { prop }
end
end
end