Sha256: 0797e17a4b3e5665c17d47903be0ea9b0b89e2b9a070cb53a7b2b035cca4b826
Contents?: true
Size: 1.33 KB
Versions: 3
Compression:
Stored size: 1.33 KB
Contents
# Copyright (c) 2010-2011 David Love # # Permission to use, copy, modify, and/or distribute this software for # any purpose with or without fee is hereby granted, provided that the # above copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # # @author David Love # # This test suite checks we can create the relevant witness objects # module Test::Witness # Include the standard witness classes include FluxTuna::Witness # Check that we can instantiate a directory walker context "Create a DirFileWitness object" do setup { DirFileWitness.new } asserts_topic.kind_of(FluxTuna::Witness::DirFileWitness) end # Create a walker for the test data context "Create a DirFileWitness object" do setup { DirFileWitness.new } asserts("directory walker"){ topic.shatter("test/data/bayeux/**/*.byx") } end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
WhiteCloth-0.0.2 | test/dir_walk/create_witness_test.rb |
FluxTuna-0.0.1 | test/dir_walk/create_witness_test.rb |
FluxTuna-0.0.5 | test/dir_walk/create_witness_test.rb |