Wrapper library to search IMDB parsing its HTML
Ruby
Switch branches/tags
Pull request Compare This branch is 3 commits ahead of porras:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
README
Rakefile
VERSION
imdb.gemspec

README

Imdb::Movie 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

Imdb::Movie 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

Imdb::Movie 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

Imdb::Search search that returns multiple movies
- should query IMDB url
- should not allow to change the query

Imdb::Search search that returns multiple movies movies
- should be a collection of Imdb::Movie instances
- should include 'Indiana Jones and the Last Crusade'
- should have titles
- should not have titles with HTML tags
- should not have duplicate movies

Imdb::Search search that redirects to the lone matching movie movies
- should be a collection containing a single Imdb::Movie instance
- should have the correct ID
- should have the correct title

Imdb::Search 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