RSpec.shared_examples'issue tracker service URL attribute'do|url_attr|it{is_expected.toallow_value('https://example.com').for(url_attr)}it{is_expected.not_toallow_value('example.com').for(url_attr)}it{is_expected.not_toallow_value('ftp://example.com').for(url_attr)}it{is_expected.not_toallow_value('herp-and-derp').for(url_attr)}end