Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove references to snippets

  • Loading branch information...
commit f2ad2b2022b7b9e77f5077a2a8e691df65f5149a 1 parent b6ec5c7
@saturnflyer saturnflyer authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/models/radiant/exporter_spec.rb
View
6 spec/models/radiant/exporter_spec.rb
@@ -1,7 +1,7 @@
require File.expand_path("../../../spec_helper", __FILE__)
describe Radiant::Exporter do
- dataset :pages_with_layouts, :users_and_pages, :snippets
+ dataset :pages_with_layouts, :users_and_pages
let(:exporter){ Radiant::Exporter }
let(:exported_content){ exporter.export }
@@ -19,8 +19,8 @@
exported_hash['Users'][user_id(:admin)]['name'].should == users(:admin).name
end
- its(:exportable_models){ should == [Radiant::Config, User, Page, PagePart, PageField, Snippet, Layout] }
- its(:template_models){ should == [Layout, Snippet, Page, PagePart, PageField] }
+ its(:exportable_models){ should == [Radiant::Config, User, Page, PagePart, PageField, Layout] }
+ its(:template_models){ should == [Layout, Page, PagePart, PageField] }
its(:ignored_template_attributes){ should == [:lock_version, :created_at, :updated_at, :created_by_id, :updated_by_id] }
it "should allow setting exportable_models" do
exporter.exportable_models = [Page]
Please sign in to comment.
Something went wrong with that request. Please try again.