Sha256: 4212227a33f9aa77db26f80e2d8021e79702e02e78a6bc7e9f64d65781033e4f
Contents?: true
Size: 697 Bytes
Versions: 9
Compression:
Stored size: 697 Bytes
Contents
require '../test_helper' context "Runner" do setup do @runner = Crags::Runner.new @runner.stubs(:fetch_doc) @runner.stubs(:items).returns([]) end specify "runner should include searcher" do Crags::Runner.ancestors.should.include Crags::Searcher end specify "search location should puts message with loc" do @runner.expects(:puts).with { |val| val =~ /location/ } @runner.search_location("", "location", "category") end specify "search location should take a category" do @runner.search_location("", "location", "category") end specify "search location should have default category sss" do @runner.search_location("", "location") end end
Version data entries
9 entries across 9 versions & 1 rubygems