Sha256: f5642fa50e922ee695a6e44de5c5e32135c9cdfd808cf54a258d24c55e4d5936
Contents?: true
Size: 442 Bytes
Versions: 8
Compression:
Stored size: 442 Bytes
Contents
begin require 'rspec/expectations'; rescue LoadError; require 'spec/expectations'; end require 'cucumber/formatter/unicode' $:.unshift(File.dirname(__FILE__) + '/../../lib') require 'imdb' Before do end After do end Given /I have keyword "(.*)" for the search/ do |n| @result = IMDB::Search.movie(n.to_s) end Then /the result should be equal or greater than (\d+)/ do |result| @result.length.should >= result.to_i end
Version data entries
8 entries across 8 versions & 1 rubygems