test/unit/test_features.rb in spontaneous-0.2.0.beta5 vs test/unit/test_features.rb in spontaneous-0.2.0.beta6

- old
+ new

@@ -59,18 +59,15 @@ Spontaneous::Permissions::AccessKey.stubs(:valid?).with(nil, @user).returns(false) Spontaneous::Permissions::AccessKey.stubs(:valid?).with(@key, @user).returns(true) @root = ::Page.create Content.delete_revision(1) rescue nil - Spontaneous.logger.silent! { + quietly { @site.publish_all } end after do - # (@all_classes.map { |k| k.name.to_sym }).each { |klass| - # Object.send(:remove_const, klass) rescue nil - # } rescue nil Content.delete end describe "middleware" do before do