Permalink
Browse files

drop duplicate tests

  • Loading branch information...
1 parent 654618b commit d654dbcfaf37ff0f8d8941c300866186c21bb643 @johnmuhl johnmuhl committed with johnmuhl Aug 24, 2011
Showing with 0 additions and 33 deletions.
  1. +0 −19 test/test_helper.rb
  2. +0 −14 test/unit/smarty_pants_filter_test.rb
View
@@ -1,19 +0,0 @@
-require 'test/unit'
-# Load the environment
-unless defined? RADIANT_ROOT
- ENV["RAILS_ENV"] = "test"
- case
- when ENV["RADIANT_ENV_FILE"]
- require ENV["RADIANT_ENV_FILE"]
- when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
- require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../../")}/config/environment"
- else
- require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../")}/config/environment"
- end
-end
-require "#{RADIANT_ROOT}/test/test_helper"
-
-class Test::Unit::TestCase
- self.use_transactional_fixtures = true
- self.use_instantiated_fixtures = false
-end
@@ -1,14 +0,0 @@
-require File.dirname(__FILE__) + '/../test_helper'
-
-class SmartyPantsFilterTest < Test::Unit::TestCase
-
- def test_filter_name
- assert_equal 'SmartyPants', SmartyPantsFilter.filter_name
- end
-
- def test_filter
- assert_equal "<h1 class=\"headline\">Radiant&#8217;s &#8220;filters&#8221; rock!</h1>",
- SmartyPantsFilter.filter("<h1 class=\"headline\">Radiant's \"filters\" rock!</h1>")
- end
-
-end

0 comments on commit d654dbc

Please sign in to comment.