Permalink
Browse files

Removed lots of unused /test assets

  • Loading branch information...
1 parent bef2f7e commit 3dc967dcb5f1bd5365b0f7309e6a02d2ef38ba66 @aiwilliams aiwilliams committed Dec 13, 2008
@@ -15,7 +15,7 @@ class PagePart < ActiveRecord::Base
object_id_attr :filter, TextFilter
def after_initialize
- self.filter_id ||= Radiant::Config['defaults.page.filter']
+ self.filter_id ||= Radiant::Config['defaults.page.filter'] if new_record?
end
end
@@ -2,7 +2,6 @@
describe Admin::PagesController do
dataset :users, :pages
- test_helper :pages, :page_parts, :caching
before :each do
login_as :existing
@@ -2,7 +2,6 @@
describe Admin::PreferencesController do
dataset :users
- test_helper :logging
it "should allow you to view your preferences" do
user = login_as(:non_admin)
@@ -2,7 +2,6 @@
describe Admin::UsersController do
dataset :users
- test_helper :logging
it "should be a ResourceController" do
controller.should be_kind_of(Admin::ResourceController)
Oops, something went wrong.

0 comments on commit 3dc967d

Please sign in to comment.