Skip to content
Browse files

add test

  • Loading branch information...
1 parent f88373d commit b19c3f2738b6169d9d57d6fda671da2ba8998165 Jigish Patel committed Nov 8, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/quilt_test.rb
View
4 test/quilt_test.rb
@@ -350,6 +350,10 @@ class QuiltTest < Scope::TestCase
assert_equal nil, @no_remote_quilt.stitch(['0.js'], '2.0.0')
end
+ should "return nil for a non-existant remote version" do
+ assert_equal nil, @quilt.stitch(['0.js'], '3.0.0')
+ end
+
should "properly stitch for an existing version with selector array" do
assert_equal "h\nc2\nc\n8\n0\nf1.0.0\n", @no_remote_quilt.stitch(['0.js'], '1.0.0')
end

0 comments on commit b19c3f2

Please sign in to comment.
Something went wrong with that request. Please try again.