aboutsummaryrefslogtreecommitdiffstats
path: root/spec/dummy/db/seeds/pages.rb
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-09-02 13:34:06 -0700
committerJamie Winsor <jamie@enmasse.com>2011-09-02 13:35:25 -0700
commitfc68f22858fc485b99836d6b5ce254c67cdabe50 (patch)
tree21122ece4efa97bd3025071344fb1a582ac574d1 /spec/dummy/db/seeds/pages.rb
parent177927497131abc1e860e381e0139cab0a8c60d6 (diff)
downloadrefinerycms-blog-fc68f22858fc485b99836d6b5ce254c67cdabe50.tar.gz
refinerycms-blog-fc68f22858fc485b99836d6b5ce254c67cdabe50.tar.bz2
refinerycms-blog-fc68f22858fc485b99836d6b5ce254c67cdabe50.zip
update and import refinerycms migrations and seeds
update Guardfile, spec_helper, and support files to match those generated by refinerycms-testing
Diffstat (limited to 'spec/dummy/db/seeds/pages.rb')
-rw-r--r--spec/dummy/db/seeds/pages.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/dummy/db/seeds/pages.rb b/spec/dummy/db/seeds/pages.rb
index 677f17d..62d4e8d 100644
--- a/spec/dummy/db/seeds/pages.rb
+++ b/spec/dummy/db/seeds/pages.rb
@@ -1,14 +1,6 @@
module Refinery
::Refinery::Page.reset_column_information
- # Check whether all columns are applied yet by seo_meta.
- unless !defined?(::SeoMeta) || ::SeoMeta.attributes.keys.all? { |k|
- ::Refinery::Page.translation_class.instance_methods.include?(k)
- }
- # Make pages model seo_meta because not all columns are accessible.
- ::Refinery::Page.translation_class.send :is_seo_meta
- end
-
page_position = -1
unless ::Refinery::Page.where(:menu_match => "^/$").any?