Guest User

Untitled

a guest
Jul 21st, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. it "should not contain any attributes that contain any html tags" do
  2. @use.each do |subtitle|
  3. [:details, :downloads, :cds, :title, :movie_title, :url].each do |method|
  4. subtitle.send(method).should_not match(/<\/?[^>]*>/)
  5. end
  6. end
  7. end
Add Comment
Please, Sign In to add comment