add more specs again for optional urls
This commit is contained in:
parent
c3e290465f
commit
b748b255f1
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue