Skip to content

Commit

Permalink
test deeply nested files are included
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewrudy committed Nov 19, 2010
1 parent daa620c commit 3048d18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/gem_this_test.rb
Expand Up @@ -6,12 +6,17 @@ class GemThisTest < Test::Unit::TestCase
build_gem do
touch "README"
touch "lib/thing.rb"
touch "lib/thing/some/aspect/many/levels/deep.rb"
end
end

should "contain lib files" do
assert_gem_contains "lib/thing.rb"
end

should "contain deeply nested files" do
assert_gem_contains "lib/thing/some/aspect/many/levels/deep.rb"
end

should "include the README" do
assert_gem_contains "README"
Expand Down

0 comments on commit 3048d18

Please sign in to comment.