Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
it "should not contain any attributes that contain any html tags" do
@use.each do |subtitle|
[:details, :downloads, :cds, :title, :movie_title, :url].each do |method|
subtitle.send(method).should_not match(/<\/?[^>]*>/)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment