test/unit/component_test.rb in liquid_cms-0.3.1.0 vs test/unit/component_test.rb in liquid_cms-0.3.2.0

- old
+ new

@@ -53,10 +53,10 @@ assert_equal "alert('test')\n", @component.read assert_equal true, @component.delete end should "expand a zip file" do - create_zip 'test.zip' do |path| + create_zip 'test.zip' do |path, relpath| Cms::Component.expand @context, path assert File.exist?(Cms::Component.full_path(@context).join('test.txt')) assert !File.exist?(Cms::Component.full_path(@context).join('test.ext')) assert File.exist?(Cms::Component.full_path(@context).join('dir', 'test.txt'))