test/unit/test_formats.rb in spontaneous-0.2.0.alpha7 vs test/unit/test_formats.rb in spontaneous-0.2.0.beta1
- old
+ new
@@ -5,15 +5,14 @@
class FormatsTest < MiniTest::Spec
context "Pages" do
setup do
@site = setup_site
@site.paths.add :templates, File.expand_path('../../fixtures/outputs/templates', __FILE__)
- class Page < Spontaneous::Page; end
- class FPage < Page; end
+ # class Page < ::Page; end
+ class FPage < ::Page; end
end
teardown do
- self.class.send(:remove_const, :Page) rescue nil
self.class.send(:remove_const, :FPage) rescue nil
teardown_site
end
context "default output" do