From 9aa3ce12dfe60ec88e14166f71d1b60fba085d9a Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 21 Oct 2012 08:11:04 +0900 Subject: Fixed indentation and whitespace --- test/content_type/tc_default.rb | 3 --- test/content_type/tc_override.rb | 7 +------ 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/test/content_type/tc_default.rb b/test/content_type/tc_default.rb index 3abfd793..d765a904 100644 --- a/test/content_type/tc_default.rb +++ b/test/content_type/tc_default.rb @@ -12,8 +12,5 @@ class TestDefault < Test::Unit::TestCase doc = Nokogiri::XML(type.to_xml_string) assert_equal(doc.xpath("Default[@ContentType='#{Axlsx::XML_CT}']").size, 1) assert_equal(doc.xpath("Default[@Extension='xml']").size, 1) - end - - end diff --git a/test/content_type/tc_override.rb b/test/content_type/tc_override.rb index c042299a..d9bec90c 100644 --- a/test/content_type/tc_override.rb +++ b/test/content_type/tc_override.rb @@ -1,9 +1,7 @@ -# -*- coding: utf-8 -*- require 'tc_helper.rb' - class TestOverride < Test::Unit::TestCase - def test_content_type_restriction + def test_content_type_restriction assert_raise(ArgumentError, "requires known content type") { Axlsx::Override.new :ContentType=>"asdf" } end @@ -12,8 +10,5 @@ class TestOverride < Test::Unit::TestCase doc = Nokogiri::XML(type.to_xml_string) assert_equal(doc.xpath("Override[@ContentType='#{Axlsx::CHART_CT}']").size, 1) assert_equal(doc.xpath("Override[@PartName='somechart.xml']").size, 1) - end - - end -- cgit v1.2.3