Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Add Comment
Please, Sign In to add comment