Sha256: ad6d333b60caf6825e710d3bc582da4d7398cc93dd060e7a90c0f6e0b5177a01
Contents?: true
Size: 700 Bytes
Versions: 1
Compression:
Stored size: 700 Bytes
Contents
require "test/unit" require_files = [] require_files << File.join(File.dirname(__FILE__), "..", "..", "lib", "ruby-tmdb.rb") require_files.concat Dir[File.join(File.dirname(__FILE__), '..', 'setup', '*.rb')] require_files.each do |file| require File.expand_path(file) end class DirectRequireTest < Test::Unit::TestCase test "TmdbMovie should not raise exception when directly required without using rubygems" do assert_nothing_raised do TmdbMovie.find(:id => 187) end end test "TmdbCast should not raise exception when directly required without using rubygems" do assert_nothing_raised do TmdbCast.find(:id => 287) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-tmdb-0.1.3 | test/unit/test_direct_require.rb |