Sha256: 88cf0e675287a79ca2b422645f6b7664d65a2ad65e96530b0d15bb8c24b40f0d
Contents?: true
Size: 705 Bytes
Versions: 6
Compression:
Stored size: 705 Bytes
Contents
require "spec_helper" describe "TestCase extensions" do pending "can create the crawler" do Relevance::Tarantula::RailsIntegrationProxy.stubs(:rails_root).returns("STUB_RAILS_ROOT") Relevance::Tarantula::Crawler.any_instance.stubs(:rails_root).returns("STUB_RAILS_ROOT") tarantula_crawler(stub_everything) end pending "can crawl" do (crawler = mock).expects(:crawl).with("/foo") expects(:tarantula_crawler).returns(crawler) tarantula_crawl(:integration_test_stub, :url => "/foo") end it "should get mixed into ActionController::IntegrationTest" do ActionController::IntegrationTest.ancestors.should include(Relevance::CoreExtensions::TestCaseExtensions) end end
Version data entries
6 entries across 6 versions & 2 rubygems