meuble / imdb forked from porras/imdb

Wrapper library to search IMDB parsing its HTML

This URL has Read+Write access

Stéphane Akkaoui (author)
Thu Feb 12 08:31:41 -0800 2009
commit  45f3e2e8f41559fff548156f6e7751e50b51a297
tree    b562b819fa7641fa85c6a1606a6f4da9b10654bb
parent  08dd8187958b95543bb745ffadb680790ef55c6d
imdb /
name age message
file .gitignore Loading commit data...
file README
file Rakefile
file imdb.gemspec
directory lib/
directory spec/
README
ImdbMovie

ImdbMovie Indiana Jones and the Last Crusade
- should query IMDB url
- should get director
- should get the poster
- should get the rating
- should get cast members
- should get the writers
- should get the release date
- should get the genres
- should get the plot
- should get the length
- should get the countries
- should get the languages
- should get the color
- should get the company
- should get some photos
- should get the tagline
- should get the aspect ratio

ImdbMovie Indiana Jones and the Last Crusade title pre-caching & get_data
- should have the original title before querying anything
- should have the updated title after calling get_data

ImdbMovie Han robado una estrella
- should query IMDB url
- should get director
- should not get the poster
- should get cast members
- should get the writers
- should get the release date
- should get the genres
- should not get the plot
- should get the length
- should get the countries
- should get the languages
- should not get the color
- should get the company
- should not get any photos

ImdbSearch

ImdbSearch Indiana Jones
- should query IMDB url

ImdbSearch Indiana Jones movies
- should be a collection of ImdbMovie instances
- should include 'Indiana Jones and the Last Crusade'
- should have titles
- should not have titles with HTML tags

ImdbSearch searches with potential encoding issues

ImdbSearch searches with potential encoding issues movies
- should include 'Misión en Marbella'

String

String unescape_html
- should convert & to &
- should convert ó to ó

String strip_tags
- should strip HTML tags

Finished in 3.044303 seconds

42 examples, 0 failures