public
Description: Wrapper library to search IMDB parsing its HTML
Homepage:
Clone URL: git://github.com/porras/imdb.git
imdb /
name age message
file .gitignore Thu Sep 11 08:05:43 -0700 2008 Gitignoring *.gem [porras]
file README Sat May 30 12:52:55 -0700 2009 Add support for searches that result in an exac... [jasonrudolph]
file Rakefile Sat May 30 10:23:00 -0700 2009 Added jeweler for gemspec generation [porras]
file VERSION Sat May 30 12:55:50 -0700 2009 Version bump to 0.0.7 [porras]
file imdb.gemspec Sat May 30 12:55:51 -0700 2009 Regenerated gemspec for version 0.0.7 [porras]
directory lib/ Sat May 30 12:52:55 -0700 2009 Add support for searches that result in an exac... [jasonrudolph]
directory spec/ Tue Sep 01 04:50:47 -0700 2009 Updated samples and specs [porras]
README
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 year
- 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 search that returns multiple movies
- should query IMDB url
- should not allow to change the query

ImdbSearch search that returns multiple movies 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
- should not have duplicate movies

ImdbSearch search that redirects to the lone matching movie movies
- should be a collection containing a single ImdbMovie instance
- should have the correct ID
- should have the correct title

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

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

String strip_tags
- should strip HTML tags

Finished in 0.829689 seconds

48 examples, 0 failures