pulitzer 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/app/interactions/pulitzer/create_free_form_section_partials.rb +2 -2
  3. data/app/interactions/pulitzer/post_types_controller/create_singleton_post.rb +1 -1
  4. data/app/interactions/pulitzer/post_types_controller/create_template_version.rb +1 -1
  5. data/app/models/pulitzer/partial.rb +4 -4
  6. data/app/models/pulitzer/partial_type.rb +1 -1
  7. data/app/models/pulitzer/post_type.rb +0 -6
  8. data/app/models/pulitzer/version.rb +2 -2
  9. data/app/views/pulitzer/partial_types/_new.html.erb +2 -2
  10. data/app/views/pulitzer/partial_types/_show.html.erb +1 -1
  11. data/db/migrate/20170515230633_create_post_type_version.rb +2 -2
  12. data/db/migrate/20170515232938_reconnect_post_type_to_post.rb +40 -1
  13. data/lib/pulitzer/version.rb +1 -1
  14. data/spec/controllers/pages_controller_spec.rb +4 -2
  15. data/spec/controllers/pulitzer/arrangement_styles_controller_spec.rb +4 -3
  16. data/spec/controllers/pulitzer/background_styles_controller_spec.rb +4 -3
  17. data/spec/controllers/pulitzer/free_form_section_types_controller_spec.rb +5 -4
  18. data/spec/controllers/pulitzer/justification_styles_controller_spec.rb +4 -3
  19. data/spec/controllers/pulitzer/partials_controller_spec.rb +12 -10
  20. data/spec/controllers/pulitzer/post_type_content_element_types_controller_spec.rb +10 -9
  21. data/spec/controllers/pulitzer/post_types_controller_spec.rb +7 -4
  22. data/spec/controllers/pulitzer/sequence_flow_styles_controller_spec.rb +4 -3
  23. data/spec/controllers/pulitzer/versions_controller_spec.rb +4 -3
  24. data/spec/dummy/app/controllers/pages_controller.rb +2 -1
  25. data/spec/dummy/config/application.rb +3 -0
  26. data/spec/dummy/db/development.sqlite3 +0 -0
  27. data/spec/dummy/db/schema.rb +20 -12
  28. data/spec/dummy/db/seeds/pulitzer_post_types.rb +10 -6
  29. data/spec/dummy/db/test.sqlite3 +0 -0
  30. data/spec/dummy/lib/state_machine/model.rb +23 -0
  31. data/spec/dummy/lib/state_machine/transition.rb +65 -0
  32. data/spec/dummy/log/development.log +275 -0
  33. data/spec/dummy/log/test.log +104454 -0
  34. data/spec/dummy/public/uploads/pulitzer/content_element/image/199/cms_sam_and_snow.jpg +0 -0
  35. data/spec/dummy/public/uploads/pulitzer/content_element/image/199/sam_and_snow.jpg +0 -0
  36. data/spec/dummy/public/uploads/pulitzer/content_element/image/199/thumb_sam_and_snow.jpg +0 -0
  37. data/spec/dummy/public/uploads/pulitzer/content_element/image/221/cms_sam_and_snow.jpg +0 -0
  38. data/spec/dummy/public/uploads/pulitzer/content_element/image/221/sam_and_snow.jpg +0 -0
  39. data/spec/dummy/public/uploads/pulitzer/content_element/image/221/thumb_sam_and_snow.jpg +0 -0
  40. data/spec/dummy/public/uploads/pulitzer/content_element/image/243/cms_sam_and_snow.jpg +0 -0
  41. data/spec/dummy/public/uploads/pulitzer/content_element/image/243/sam_and_snow.jpg +0 -0
  42. data/spec/dummy/public/uploads/pulitzer/content_element/image/243/thumb_sam_and_snow.jpg +0 -0
  43. data/spec/dummy/public/uploads/pulitzer/content_element/image/265/cms_sam_and_snow.jpg +0 -0
  44. data/spec/dummy/public/uploads/pulitzer/content_element/image/265/sam_and_snow.jpg +0 -0
  45. data/spec/dummy/public/uploads/pulitzer/content_element/image/265/thumb_sam_and_snow.jpg +0 -0
  46. data/spec/dummy/public/uploads/pulitzer/content_element/image/287/cms_sam_and_snow.jpg +0 -0
  47. data/spec/dummy/public/uploads/pulitzer/content_element/image/287/sam_and_snow.jpg +0 -0
  48. data/spec/dummy/public/uploads/pulitzer/content_element/image/287/thumb_sam_and_snow.jpg +0 -0
  49. data/spec/dummy/public/uploads/pulitzer/content_element/image/309/cms_sam_and_snow.jpg +0 -0
  50. data/spec/dummy/public/uploads/pulitzer/content_element/image/309/sam_and_snow.jpg +0 -0
  51. data/spec/dummy/public/uploads/pulitzer/content_element/image/309/thumb_sam_and_snow.jpg +0 -0
  52. data/spec/dummy/public/uploads/pulitzer/content_element/image/331/cms_sam_and_snow.jpg +0 -0
  53. data/spec/dummy/public/uploads/pulitzer/content_element/image/331/sam_and_snow.jpg +0 -0
  54. data/spec/dummy/public/uploads/pulitzer/content_element/image/331/thumb_sam_and_snow.jpg +0 -0
  55. data/spec/dummy/public/uploads/pulitzer/content_element/image/353/cms_sam_and_snow.jpg +0 -0
  56. data/spec/dummy/public/uploads/pulitzer/content_element/image/353/sam_and_snow.jpg +0 -0
  57. data/spec/dummy/public/uploads/pulitzer/content_element/image/353/thumb_sam_and_snow.jpg +0 -0
  58. data/spec/dummy/public/uploads/pulitzer/content_element/image/375/cms_sam_and_snow.jpg +0 -0
  59. data/spec/dummy/public/uploads/pulitzer/content_element/image/375/sam_and_snow.jpg +0 -0
  60. data/spec/dummy/public/uploads/pulitzer/content_element/image/375/thumb_sam_and_snow.jpg +0 -0
  61. data/spec/dummy/public/uploads/pulitzer/content_element/image/397/cms_sam_and_snow.jpg +0 -0
  62. data/spec/dummy/public/uploads/pulitzer/content_element/image/397/sam_and_snow.jpg +0 -0
  63. data/spec/dummy/public/uploads/pulitzer/content_element/image/397/thumb_sam_and_snow.jpg +0 -0
  64. data/spec/dummy/public/uploads/pulitzer/content_element/image/419/cms_sam_and_snow.jpg +0 -0
  65. data/spec/dummy/public/uploads/pulitzer/content_element/image/419/sam_and_snow.jpg +0 -0
  66. data/spec/dummy/public/uploads/pulitzer/content_element/image/419/thumb_sam_and_snow.jpg +0 -0
  67. data/spec/dummy/public/uploads/pulitzer/content_element/image/441/cms_sam_and_snow.jpg +0 -0
  68. data/spec/dummy/public/uploads/pulitzer/content_element/image/441/sam_and_snow.jpg +0 -0
  69. data/spec/dummy/public/uploads/pulitzer/content_element/image/441/thumb_sam_and_snow.jpg +0 -0
  70. data/spec/dummy/public/uploads/pulitzer/content_element/image/463/cms_sam_and_snow.jpg +0 -0
  71. data/spec/dummy/public/uploads/pulitzer/content_element/image/463/sam_and_snow.jpg +0 -0
  72. data/spec/dummy/public/uploads/pulitzer/content_element/image/463/thumb_sam_and_snow.jpg +0 -0
  73. data/spec/dummy/public/uploads/pulitzer/content_element/image/485/cms_sam_and_snow.jpg +0 -0
  74. data/spec/dummy/public/uploads/pulitzer/content_element/image/485/sam_and_snow.jpg +0 -0
  75. data/spec/dummy/public/uploads/pulitzer/content_element/image/485/thumb_sam_and_snow.jpg +0 -0
  76. data/spec/dummy/public/uploads/pulitzer/content_element/image/507/cms_sam_and_snow.jpg +0 -0
  77. data/spec/dummy/public/uploads/pulitzer/content_element/image/507/sam_and_snow.jpg +0 -0
  78. data/spec/dummy/public/uploads/pulitzer/content_element/image/507/thumb_sam_and_snow.jpg +0 -0
  79. data/spec/dummy/public/uploads/pulitzer/content_element/image/529/cms_sam_and_snow.jpg +0 -0
  80. data/spec/dummy/public/uploads/pulitzer/content_element/image/529/sam_and_snow.jpg +0 -0
  81. data/spec/dummy/public/uploads/pulitzer/content_element/image/529/thumb_sam_and_snow.jpg +0 -0
  82. data/spec/dummy/public/uploads/pulitzer/content_element/image/551/cms_sam_and_snow.jpg +0 -0
  83. data/spec/dummy/public/uploads/pulitzer/content_element/image/551/sam_and_snow.jpg +0 -0
  84. data/spec/dummy/public/uploads/pulitzer/content_element/image/551/thumb_sam_and_snow.jpg +0 -0
  85. data/spec/dummy/public/uploads/pulitzer/content_element/image/595/cms_sam_and_snow.jpg +0 -0
  86. data/spec/dummy/public/uploads/pulitzer/content_element/image/595/sam_and_snow.jpg +0 -0
  87. data/spec/dummy/public/uploads/pulitzer/content_element/image/595/thumb_sam_and_snow.jpg +0 -0
  88. data/spec/dummy/public/uploads/pulitzer/content_element/image/617/cms_sam_and_snow.jpg +0 -0
  89. data/spec/dummy/public/uploads/pulitzer/content_element/image/617/sam_and_snow.jpg +0 -0
  90. data/spec/dummy/public/uploads/pulitzer/content_element/image/617/thumb_sam_and_snow.jpg +0 -0
  91. data/spec/dummy/public/uploads/pulitzer/content_element/image/639/cms_sam_and_snow.jpg +0 -0
  92. data/spec/dummy/public/uploads/pulitzer/content_element/image/639/sam_and_snow.jpg +0 -0
  93. data/spec/dummy/public/uploads/pulitzer/content_element/image/639/thumb_sam_and_snow.jpg +0 -0
  94. data/spec/dummy/public/uploads/pulitzer/content_element/image/661/cms_sam_and_snow.jpg +0 -0
  95. data/spec/dummy/public/uploads/pulitzer/content_element/image/661/sam_and_snow.jpg +0 -0
  96. data/spec/dummy/public/uploads/pulitzer/content_element/image/661/thumb_sam_and_snow.jpg +0 -0
  97. data/spec/dummy/public/uploads/pulitzer/content_element/image/683/cms_sam_and_snow.jpg +0 -0
  98. data/spec/dummy/public/uploads/pulitzer/content_element/image/683/sam_and_snow.jpg +0 -0
  99. data/spec/dummy/public/uploads/pulitzer/content_element/image/683/thumb_sam_and_snow.jpg +0 -0
  100. data/spec/dummy/public/uploads/pulitzer/content_element/image/705/cms_sam_and_snow.jpg +0 -0
  101. data/spec/dummy/public/uploads/pulitzer/content_element/image/705/sam_and_snow.jpg +0 -0
  102. data/spec/dummy/public/uploads/pulitzer/content_element/image/705/thumb_sam_and_snow.jpg +0 -0
  103. data/spec/dummy/public/uploads/pulitzer/content_element/image/727/cms_sam_and_snow.jpg +0 -0
  104. data/spec/dummy/public/uploads/pulitzer/content_element/image/727/sam_and_snow.jpg +0 -0
  105. data/spec/dummy/public/uploads/pulitzer/content_element/image/727/thumb_sam_and_snow.jpg +0 -0
  106. data/spec/dummy/public/uploads/pulitzer/content_element/image/749/cms_sam_and_snow.jpg +0 -0
  107. data/spec/dummy/public/uploads/pulitzer/content_element/image/749/sam_and_snow.jpg +0 -0
  108. data/spec/dummy/public/uploads/pulitzer/content_element/image/749/thumb_sam_and_snow.jpg +0 -0
  109. data/spec/dummy/public/uploads/pulitzer/content_element/image/771/cms_sam_and_snow.jpg +0 -0
  110. data/spec/dummy/public/uploads/pulitzer/content_element/image/771/sam_and_snow.jpg +0 -0
  111. data/spec/dummy/public/uploads/pulitzer/content_element/image/771/thumb_sam_and_snow.jpg +0 -0
  112. data/spec/dummy/public/uploads/pulitzer/content_element/image/793/cms_sam_and_snow.jpg +0 -0
  113. data/spec/dummy/public/uploads/pulitzer/content_element/image/793/sam_and_snow.jpg +0 -0
  114. data/spec/dummy/public/uploads/pulitzer/content_element/image/793/thumb_sam_and_snow.jpg +0 -0
  115. data/spec/factories/free_form_section_types.rb +1 -1
  116. data/spec/factories/partial_type.rb +1 -1
  117. data/spec/factories/post.rb +1 -1
  118. data/spec/factories/post_type.rb +2 -12
  119. data/spec/factories/post_type_content_element_type.rb +1 -1
  120. data/spec/factories/post_type_version.rb +19 -0
  121. data/spec/interactions/clone_version_spec.rb +2 -1
  122. data/spec/interactions/create_free_form_section_partials_spec.rb +3 -3
  123. data/spec/interactions/create_partial_content_elements_spec.rb +4 -4
  124. data/spec/interactions/create_post_content_elements_spec.rb +4 -4
  125. data/spec/interactions/update_post_type_content_elements_spec.rb +3 -2
  126. data/spec/models/post_spec.rb +1 -1
  127. data/spec/models/post_type_content_element_type_spec.rb +4 -3
  128. data/spec/models/post_type_spec.rb +0 -6
  129. data/spec/models/version_spec.rb +2 -2
  130. metadata +184 -4
  131. data/spec/interactions/destroy_free_form_partials_spec.rb +0 -18
@@ -2,6 +2,6 @@ FactoryGirl.define do
2
2
  factory :free_form_section_type, class: Pulitzer::FreeFormSectionType do
3
3
  sequence(:name) { |n| "Winterfell news #{n}" }
4
4
  sequence(:sort_order)
5
- association :post_type
5
+ association :post_type_version
6
6
  end
7
7
  end
@@ -3,6 +3,6 @@ FactoryGirl.define do
3
3
  sequence(:label) { |n| "King's Landing news #{n}" }
4
4
  sequence(:sort_order)
5
5
  association :free_form_section_type
6
- association :post_type
6
+ association :post_type_version
7
7
  end
8
8
  end
@@ -1,6 +1,6 @@
1
1
  FactoryGirl.define do
2
2
  factory :post, class: Pulitzer::Post do
3
3
  sequence(:title) { |n| "Winterfell news #{n}" }
4
- association :post_type
4
+ association :post_type_version
5
5
  end
6
6
  end
@@ -4,18 +4,8 @@ FactoryGirl.define do
4
4
  plural { false }
5
5
  kind { Pulitzer::PostType.kinds[:template]}
6
6
 
7
- trait :with_content_elements do
8
- after(:create) do |post_type|
9
- create_list(:post_type_content_element_type, 3, post_type_id: post_type.id)
10
- end
11
- end
12
-
13
- trait :with_free_form_sections do
14
- after(:create) do |post_type|
15
- post_type.free_form_section_types.create(name: 'Main Body')
16
- post_type.free_form_section_types.create(name: 'Side Bar')
17
- post_type.free_form_section_types.create(name: 'Footer List')
18
- end
7
+ after(:create) do |post_type|
8
+ post_type.post_type_versions.create status: 'published'
19
9
  end
20
10
  end
21
11
  end
@@ -1,7 +1,7 @@
1
1
  FactoryGirl.define do
2
2
  factory :post_type_content_element_type, class: Pulitzer::PostTypeContentElementType do
3
3
  sequence(:label) { |n| "Slide 1 content element #{n}" }
4
- association :post_type
4
+ association :post_type_version
5
5
  association :content_element_type
6
6
  end
7
7
  end
@@ -0,0 +1,19 @@
1
+ FactoryGirl.define do
2
+ factory :post_type_version, class: Pulitzer::PostTypeVersion do
3
+ association :post_type
4
+
5
+ trait :with_content_elements do
6
+ after(:create) do |post_type_version|
7
+ create_list(:post_type_content_element_type, 3, post_type_version_id: post_type_version.id)
8
+ end
9
+ end
10
+
11
+ trait :with_free_form_sections do
12
+ after(:create) do |post_type_version|
13
+ post_type_version.free_form_section_types.create(name: 'Main Body')
14
+ post_type_version.free_form_section_types.create(name: 'Side Bar')
15
+ post_type_version.free_form_section_types.create(name: 'Footer List')
16
+ end
17
+ end
18
+ end
19
+ end
@@ -2,7 +2,8 @@ require 'rails_helper'
2
2
 
3
3
  describe Pulitzer::CloneVersion do
4
4
  let(:post_type) { Pulitzer::PostType.named('Welcome')}
5
- let(:post) { post_type.posts.first }
5
+ let(:post_type_version) {post_type.published_type_version}
6
+ let(:post) { post_type_version.posts.first }
6
7
  let(:version) { post.preview_version }
7
8
 
8
9
  it 'Clones version content elements' do
@@ -2,8 +2,8 @@ require 'rails_helper'
2
2
 
3
3
  describe Pulitzer::CreateFreeFormSectionPartials do
4
4
  let!(:partial_type) { create(:partial_type) }
5
- let(:post_type) { free_form_section_type.post_type }
6
- let!(:post) { create(:post, post_type: post_type) }
5
+ let(:post_type_version) { free_form_section_type.post_type_version }
6
+ let!(:post) { create(:post, post_type_version: post_type_version) }
7
7
  let(:preview_version) { post.preview_version }
8
8
  let(:free_form_section_type) { partial_type.free_form_section_type }
9
9
 
@@ -13,7 +13,7 @@ describe Pulitzer::CreateFreeFormSectionPartials do
13
13
  create_partials = Pulitzer::CreateFreeFormSectionPartials.new(partial_type).call
14
14
  partial = preview_version.free_form_sections.first.partials.first
15
15
  expect(partial.label).to eq partial_type.label
16
- expect(partial.post_type_id).to eq partial_type.post_type_id
16
+ expect(partial.post_type_version_id).to eq partial_type.post_type_version_id
17
17
  expect(partial.layout_id).to eq partial_type.layout_id
18
18
  expect(partial.sort_order).to eq partial_type.sort_order
19
19
  end
@@ -1,14 +1,14 @@
1
1
  require 'rails_helper'
2
2
 
3
3
  describe Pulitzer::CreatePartialContentElements do
4
- let(:post_type) { pt = create(:post_type, :with_content_elements)
5
- pt.update_columns(kind: Pulitzer::PostType.kinds[:partial])
4
+ let(:post_type_version) { pt = create(:post_type_version, :with_content_elements)
5
+ pt.post_type.update_columns(kind: Pulitzer::PostType.kinds[:partial])
6
6
  pt }
7
7
  let(:free_form_section) { Pulitzer::FreeFormSection.create name: 'test'}
8
- let(:partial) { free_form_section.partials.create(post_type_id: post_type.id) }
8
+ let(:partial) { free_form_section.partials.create(post_type_version_id: post_type_version.id) }
9
9
 
10
10
  it 'Copies content elements to preview version' do
11
- expect(post_type.post_type_content_element_types.size).to eq 3
11
+ expect(post_type_version.post_type_content_element_types.size).to eq 3
12
12
  expect(partial.content_elements.size).to eq 0
13
13
  Pulitzer::CreatePartialContentElements.new(partial).call
14
14
  expect(partial.content_elements.size).to eq 3
@@ -1,18 +1,18 @@
1
1
  require 'rails_helper'
2
2
 
3
3
  describe Pulitzer::CreatePostContentElements do
4
- let(:post_type) { create(:post_type, :with_content_elements) }
5
- let(:post) { create(:post, post_type: post_type) }
4
+ let(:post_type_version) { create(:post_type_version, :with_content_elements) }
5
+ let(:post) { create(:post, post_type_version: post_type_version) }
6
6
 
7
7
  it 'Copies content elements to preview version' do
8
- expect(post_type.post_type_content_element_types.size).to eq 3
8
+ expect(post_type_version.post_type_content_element_types.size).to eq 3
9
9
  expect(post.preview_version.content_elements.size).to eq 0
10
10
  Pulitzer::CreatePostContentElements.new(post).call
11
11
  expect(post.preview_version.content_elements.size).to eq 3
12
12
  end
13
13
 
14
14
  it 'Copies free form sections to preview version' do
15
- ff_post_type = create(:post_type, :with_free_form_sections)
15
+ ff_post_type = create(:post_type_version, :with_free_form_sections)
16
16
  ff_post = ff_post_type.posts.create title: 'test'
17
17
  expect(ff_post_type.free_form_section_types.size).to eq 3
18
18
  expect(ff_post.preview_version.free_form_sections.size).to eq 0
@@ -2,10 +2,11 @@ require 'rails_helper'
2
2
 
3
3
  describe Pulitzer::UpdatePostTypeContentElements do
4
4
  let(:version) { post.preview_version }
5
- let(:post) { post_type.posts.first }
5
+ let(:post_type_version) {post_type.published_type_version}
6
+ let(:post) { post_type_version.posts.first }
6
7
  let(:post_type) { Pulitzer::PostType.named('Welcome') }
7
8
  let(:content_element_type) { Pulitzer::ContentElementType.find_by name: 'Text'}
8
- let(:ptcet) { post_type.post_type_content_element_types.create(content_element_type_id: content_element_type.id, label: 'A New Field for this Post Type')}
9
+ let(:ptcet) { post_type_version.post_type_content_element_types.create(content_element_type_id: content_element_type.id, label: 'A New Field for this Post Type')}
9
10
 
10
11
  describe "#call" do
11
12
 
@@ -12,7 +12,7 @@ describe Pulitzer::Post do
12
12
  end
13
13
 
14
14
  describe "ActiveRecord associations" do
15
- it { should belong_to(:post_type) }
15
+ it { should belong_to(:post_type_version) }
16
16
  end
17
17
 
18
18
  describe "#active_version" do
@@ -2,7 +2,8 @@ require 'rails_helper'
2
2
 
3
3
  describe Pulitzer::PostTypeContentElementType do
4
4
  let(:post_type) {Pulitzer::PostType.named('Welcome')}
5
- let(:post_type_content_element_type) { post_type.post_type_content_element_types.first }
5
+ let(:post_type_version) {post_type.published_type_version}
6
+ let(:post_type_content_element_type) { post_type_version.post_type_content_element_types.first }
6
7
  let(:cet) {post_type_content_element_type.content_element_type}
7
8
 
8
9
  it 'has a valid factory' do
@@ -14,14 +15,14 @@ describe Pulitzer::PostTypeContentElementType do
14
15
  end
15
16
 
16
17
  describe "ActiveRecord associations" do
17
- it { should belong_to(:post_type) }
18
+ it { should belong_to(:post_type_version) }
18
19
  it { should belong_to(:content_element_type) }
19
20
  end
20
21
 
21
22
  describe "sort order" do
22
23
  it "creates elements with the next sort order" do
23
24
  last_element_index = post_type_content_element_type.highest_sibling_sort
24
- ptcet = post_type.post_type_content_element_types.create(content_element_type: cet, label: 'Test Element')
25
+ ptcet = post_type_version.post_type_content_element_types.create(content_element_type: cet, label: 'Test Element')
25
26
  expect(ptcet.sort_order).to eq (last_element_index + 1)
26
27
  end
27
28
  end
@@ -12,12 +12,6 @@ describe Pulitzer::PostType do
12
12
  it { should validate_presence_of(:kind) }
13
13
  end
14
14
 
15
- describe "ActiveRecord associations" do
16
- it { should have_many(:posts).dependent(:destroy) }
17
- it { should have_many(:post_type_content_element_types).dependent(:destroy) }
18
- it { should have_many(:content_element_types).through(:post_type_content_element_types) }
19
- end
20
-
21
15
  describe 'ActiveRecord enums' do
22
16
  it { should define_enum_for(:kind).
23
17
  with([:template, :partial]) }
@@ -36,8 +36,8 @@ describe Pulitzer::Version do
36
36
 
37
37
  describe '#required_partials?' do
38
38
  let!(:partial_type) { create(:partial_type) }
39
- let(:post_type) { free_form_section_type.post_type }
40
- let!(:post) { create(:post, post_type: post_type) }
39
+ let(:post_type_version) { free_form_section_type.post_type_version }
40
+ let!(:post) { create(:post, post_type_version: post_type_version) }
41
41
  let(:preview_version) { post.preview_version }
42
42
  let(:free_form_section_type) { partial_type.free_form_section_type }
43
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulitzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-06 00:00:00.000000000 Z
12
+ date: 2017-06-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -367,6 +367,20 @@ dependencies:
367
367
  - - "~>"
368
368
  - !ruby/object:Gem::Version
369
369
  version: '1.10'
370
+ - !ruby/object:Gem::Dependency
371
+ name: rspec
372
+ requirement: !ruby/object:Gem::Requirement
373
+ requirements:
374
+ - - "~>"
375
+ - !ruby/object:Gem::Version
376
+ version: '3.5'
377
+ type: :development
378
+ prerelease: false
379
+ version_requirements: !ruby/object:Gem::Requirement
380
+ requirements:
381
+ - - "~>"
382
+ - !ruby/object:Gem::Version
383
+ version: '3.5'
370
384
  - !ruby/object:Gem::Dependency
371
385
  name: rspec-rails
372
386
  requirement: !ruby/object:Gem::Requirement
@@ -790,6 +804,8 @@ files:
790
804
  - spec/dummy/db/seeds.rb
791
805
  - spec/dummy/db/seeds/pulitzer_post_types.rb
792
806
  - spec/dummy/db/test.sqlite3
807
+ - spec/dummy/lib/state_machine/model.rb
808
+ - spec/dummy/lib/state_machine/transition.rb
793
809
  - spec/dummy/log/development.log
794
810
  - spec/dummy/log/test.log
795
811
  - spec/dummy/public/404.html
@@ -808,30 +824,111 @@ files:
808
824
  - spec/dummy/public/uploads/pulitzer/content_element/image/161/cms_sam_and_snow.jpg
809
825
  - spec/dummy/public/uploads/pulitzer/content_element/image/161/sam_and_snow.jpg
810
826
  - spec/dummy/public/uploads/pulitzer/content_element/image/161/thumb_sam_and_snow.jpg
827
+ - spec/dummy/public/uploads/pulitzer/content_element/image/199/cms_sam_and_snow.jpg
828
+ - spec/dummy/public/uploads/pulitzer/content_element/image/199/sam_and_snow.jpg
829
+ - spec/dummy/public/uploads/pulitzer/content_element/image/199/thumb_sam_and_snow.jpg
811
830
  - spec/dummy/public/uploads/pulitzer/content_element/image/21/cms_sam_and_snow.jpg
812
831
  - spec/dummy/public/uploads/pulitzer/content_element/image/21/sam_and_snow.jpg
813
832
  - spec/dummy/public/uploads/pulitzer/content_element/image/21/thumb_sam_and_snow.jpg
833
+ - spec/dummy/public/uploads/pulitzer/content_element/image/221/cms_sam_and_snow.jpg
834
+ - spec/dummy/public/uploads/pulitzer/content_element/image/221/sam_and_snow.jpg
835
+ - spec/dummy/public/uploads/pulitzer/content_element/image/221/thumb_sam_and_snow.jpg
814
836
  - spec/dummy/public/uploads/pulitzer/content_element/image/23/cms_sam_and_snow.jpg
815
837
  - spec/dummy/public/uploads/pulitzer/content_element/image/23/sam_and_snow.jpg
816
838
  - spec/dummy/public/uploads/pulitzer/content_element/image/23/thumb_sam_and_snow.jpg
839
+ - spec/dummy/public/uploads/pulitzer/content_element/image/243/cms_sam_and_snow.jpg
840
+ - spec/dummy/public/uploads/pulitzer/content_element/image/243/sam_and_snow.jpg
841
+ - spec/dummy/public/uploads/pulitzer/content_element/image/243/thumb_sam_and_snow.jpg
842
+ - spec/dummy/public/uploads/pulitzer/content_element/image/265/cms_sam_and_snow.jpg
843
+ - spec/dummy/public/uploads/pulitzer/content_element/image/265/sam_and_snow.jpg
844
+ - spec/dummy/public/uploads/pulitzer/content_element/image/265/thumb_sam_and_snow.jpg
845
+ - spec/dummy/public/uploads/pulitzer/content_element/image/287/cms_sam_and_snow.jpg
846
+ - spec/dummy/public/uploads/pulitzer/content_element/image/287/sam_and_snow.jpg
847
+ - spec/dummy/public/uploads/pulitzer/content_element/image/287/thumb_sam_and_snow.jpg
817
848
  - spec/dummy/public/uploads/pulitzer/content_element/image/301/cms_sam_and_snow.jpg
818
849
  - spec/dummy/public/uploads/pulitzer/content_element/image/301/sam_and_snow.jpg
819
850
  - spec/dummy/public/uploads/pulitzer/content_element/image/301/thumb_sam_and_snow.jpg
851
+ - spec/dummy/public/uploads/pulitzer/content_element/image/309/cms_sam_and_snow.jpg
852
+ - spec/dummy/public/uploads/pulitzer/content_element/image/309/sam_and_snow.jpg
853
+ - spec/dummy/public/uploads/pulitzer/content_element/image/309/thumb_sam_and_snow.jpg
854
+ - spec/dummy/public/uploads/pulitzer/content_element/image/331/cms_sam_and_snow.jpg
855
+ - spec/dummy/public/uploads/pulitzer/content_element/image/331/sam_and_snow.jpg
856
+ - spec/dummy/public/uploads/pulitzer/content_element/image/331/thumb_sam_and_snow.jpg
857
+ - spec/dummy/public/uploads/pulitzer/content_element/image/353/cms_sam_and_snow.jpg
858
+ - spec/dummy/public/uploads/pulitzer/content_element/image/353/sam_and_snow.jpg
859
+ - spec/dummy/public/uploads/pulitzer/content_element/image/353/thumb_sam_and_snow.jpg
860
+ - spec/dummy/public/uploads/pulitzer/content_element/image/375/cms_sam_and_snow.jpg
861
+ - spec/dummy/public/uploads/pulitzer/content_element/image/375/sam_and_snow.jpg
862
+ - spec/dummy/public/uploads/pulitzer/content_element/image/375/thumb_sam_and_snow.jpg
863
+ - spec/dummy/public/uploads/pulitzer/content_element/image/397/cms_sam_and_snow.jpg
864
+ - spec/dummy/public/uploads/pulitzer/content_element/image/397/sam_and_snow.jpg
865
+ - spec/dummy/public/uploads/pulitzer/content_element/image/397/thumb_sam_and_snow.jpg
866
+ - spec/dummy/public/uploads/pulitzer/content_element/image/419/cms_sam_and_snow.jpg
867
+ - spec/dummy/public/uploads/pulitzer/content_element/image/419/sam_and_snow.jpg
868
+ - spec/dummy/public/uploads/pulitzer/content_element/image/419/thumb_sam_and_snow.jpg
869
+ - spec/dummy/public/uploads/pulitzer/content_element/image/441/cms_sam_and_snow.jpg
870
+ - spec/dummy/public/uploads/pulitzer/content_element/image/441/sam_and_snow.jpg
871
+ - spec/dummy/public/uploads/pulitzer/content_element/image/441/thumb_sam_and_snow.jpg
820
872
  - spec/dummy/public/uploads/pulitzer/content_element/image/45/cms_sam_and_snow.jpg
821
873
  - spec/dummy/public/uploads/pulitzer/content_element/image/45/sam_and_snow.jpg
822
874
  - spec/dummy/public/uploads/pulitzer/content_element/image/45/thumb_sam_and_snow.jpg
875
+ - spec/dummy/public/uploads/pulitzer/content_element/image/463/cms_sam_and_snow.jpg
876
+ - spec/dummy/public/uploads/pulitzer/content_element/image/463/sam_and_snow.jpg
877
+ - spec/dummy/public/uploads/pulitzer/content_element/image/463/thumb_sam_and_snow.jpg
878
+ - spec/dummy/public/uploads/pulitzer/content_element/image/485/cms_sam_and_snow.jpg
879
+ - spec/dummy/public/uploads/pulitzer/content_element/image/485/sam_and_snow.jpg
880
+ - spec/dummy/public/uploads/pulitzer/content_element/image/485/thumb_sam_and_snow.jpg
881
+ - spec/dummy/public/uploads/pulitzer/content_element/image/507/cms_sam_and_snow.jpg
882
+ - spec/dummy/public/uploads/pulitzer/content_element/image/507/sam_and_snow.jpg
883
+ - spec/dummy/public/uploads/pulitzer/content_element/image/507/thumb_sam_and_snow.jpg
884
+ - spec/dummy/public/uploads/pulitzer/content_element/image/529/cms_sam_and_snow.jpg
885
+ - spec/dummy/public/uploads/pulitzer/content_element/image/529/sam_and_snow.jpg
886
+ - spec/dummy/public/uploads/pulitzer/content_element/image/529/thumb_sam_and_snow.jpg
887
+ - spec/dummy/public/uploads/pulitzer/content_element/image/551/cms_sam_and_snow.jpg
888
+ - spec/dummy/public/uploads/pulitzer/content_element/image/551/sam_and_snow.jpg
889
+ - spec/dummy/public/uploads/pulitzer/content_element/image/551/thumb_sam_and_snow.jpg
823
890
  - spec/dummy/public/uploads/pulitzer/content_element/image/561/cms_sam_and_snow.jpg
824
891
  - spec/dummy/public/uploads/pulitzer/content_element/image/561/sam_and_snow.jpg
825
892
  - spec/dummy/public/uploads/pulitzer/content_element/image/561/thumb_sam_and_snow.jpg
826
893
  - spec/dummy/public/uploads/pulitzer/content_element/image/581/cms_sam_and_snow.jpg
827
894
  - spec/dummy/public/uploads/pulitzer/content_element/image/581/sam_and_snow.jpg
828
895
  - spec/dummy/public/uploads/pulitzer/content_element/image/581/thumb_sam_and_snow.jpg
896
+ - spec/dummy/public/uploads/pulitzer/content_element/image/595/cms_sam_and_snow.jpg
897
+ - spec/dummy/public/uploads/pulitzer/content_element/image/595/sam_and_snow.jpg
898
+ - spec/dummy/public/uploads/pulitzer/content_element/image/595/thumb_sam_and_snow.jpg
829
899
  - spec/dummy/public/uploads/pulitzer/content_element/image/61/cms_sam_and_snow.jpg
830
900
  - spec/dummy/public/uploads/pulitzer/content_element/image/61/sam_and_snow.jpg
831
901
  - spec/dummy/public/uploads/pulitzer/content_element/image/61/thumb_sam_and_snow.jpg
902
+ - spec/dummy/public/uploads/pulitzer/content_element/image/617/cms_sam_and_snow.jpg
903
+ - spec/dummy/public/uploads/pulitzer/content_element/image/617/sam_and_snow.jpg
904
+ - spec/dummy/public/uploads/pulitzer/content_element/image/617/thumb_sam_and_snow.jpg
905
+ - spec/dummy/public/uploads/pulitzer/content_element/image/639/cms_sam_and_snow.jpg
906
+ - spec/dummy/public/uploads/pulitzer/content_element/image/639/sam_and_snow.jpg
907
+ - spec/dummy/public/uploads/pulitzer/content_element/image/639/thumb_sam_and_snow.jpg
908
+ - spec/dummy/public/uploads/pulitzer/content_element/image/661/cms_sam_and_snow.jpg
909
+ - spec/dummy/public/uploads/pulitzer/content_element/image/661/sam_and_snow.jpg
910
+ - spec/dummy/public/uploads/pulitzer/content_element/image/661/thumb_sam_and_snow.jpg
832
911
  - spec/dummy/public/uploads/pulitzer/content_element/image/67/cms_sam_and_snow.jpg
833
912
  - spec/dummy/public/uploads/pulitzer/content_element/image/67/sam_and_snow.jpg
834
913
  - spec/dummy/public/uploads/pulitzer/content_element/image/67/thumb_sam_and_snow.jpg
914
+ - spec/dummy/public/uploads/pulitzer/content_element/image/683/cms_sam_and_snow.jpg
915
+ - spec/dummy/public/uploads/pulitzer/content_element/image/683/sam_and_snow.jpg
916
+ - spec/dummy/public/uploads/pulitzer/content_element/image/683/thumb_sam_and_snow.jpg
917
+ - spec/dummy/public/uploads/pulitzer/content_element/image/705/cms_sam_and_snow.jpg
918
+ - spec/dummy/public/uploads/pulitzer/content_element/image/705/sam_and_snow.jpg
919
+ - spec/dummy/public/uploads/pulitzer/content_element/image/705/thumb_sam_and_snow.jpg
920
+ - spec/dummy/public/uploads/pulitzer/content_element/image/727/cms_sam_and_snow.jpg
921
+ - spec/dummy/public/uploads/pulitzer/content_element/image/727/sam_and_snow.jpg
922
+ - spec/dummy/public/uploads/pulitzer/content_element/image/727/thumb_sam_and_snow.jpg
923
+ - spec/dummy/public/uploads/pulitzer/content_element/image/749/cms_sam_and_snow.jpg
924
+ - spec/dummy/public/uploads/pulitzer/content_element/image/749/sam_and_snow.jpg
925
+ - spec/dummy/public/uploads/pulitzer/content_element/image/749/thumb_sam_and_snow.jpg
926
+ - spec/dummy/public/uploads/pulitzer/content_element/image/771/cms_sam_and_snow.jpg
927
+ - spec/dummy/public/uploads/pulitzer/content_element/image/771/sam_and_snow.jpg
928
+ - spec/dummy/public/uploads/pulitzer/content_element/image/771/thumb_sam_and_snow.jpg
929
+ - spec/dummy/public/uploads/pulitzer/content_element/image/793/cms_sam_and_snow.jpg
930
+ - spec/dummy/public/uploads/pulitzer/content_element/image/793/sam_and_snow.jpg
931
+ - spec/dummy/public/uploads/pulitzer/content_element/image/793/thumb_sam_and_snow.jpg
835
932
  - spec/dummy/public/uploads/pulitzer/content_element/image/81/cms_sam_and_snow.jpg
836
933
  - spec/dummy/public/uploads/pulitzer/content_element/image/81/sam_and_snow.jpg
837
934
  - spec/dummy/public/uploads/pulitzer/content_element/image/81/thumb_sam_and_snow.jpg
@@ -1154,13 +1251,13 @@ files:
1154
1251
  - spec/factories/post_tag.rb
1155
1252
  - spec/factories/post_type.rb
1156
1253
  - spec/factories/post_type_content_element_type.rb
1254
+ - spec/factories/post_type_version.rb
1157
1255
  - spec/factories/tag.rb
1158
1256
  - spec/factories/version.rb
1159
1257
  - spec/interactions/clone_version_spec.rb
1160
1258
  - spec/interactions/create_free_form_section_partials_spec.rb
1161
1259
  - spec/interactions/create_partial_content_elements_spec.rb
1162
1260
  - spec/interactions/create_post_content_elements_spec.rb
1163
- - spec/interactions/destroy_free_form_partials_spec.rb
1164
1261
  - spec/interactions/update_post_type_content_elements_spec.rb
1165
1262
  - spec/interactions/update_version_status_spec.rb
1166
1263
  - spec/lib/pulitzer_spec.rb
@@ -1257,6 +1354,8 @@ test_files:
1257
1354
  - spec/dummy/db/seeds/pulitzer_post_types.rb
1258
1355
  - spec/dummy/db/seeds.rb
1259
1356
  - spec/dummy/db/test.sqlite3
1357
+ - spec/dummy/lib/state_machine/model.rb
1358
+ - spec/dummy/lib/state_machine/transition.rb
1260
1359
  - spec/dummy/log/development.log
1261
1360
  - spec/dummy/log/test.log
1262
1361
  - spec/dummy/public/404.html
@@ -1275,30 +1374,111 @@ test_files:
1275
1374
  - spec/dummy/public/uploads/pulitzer/content_element/image/161/cms_sam_and_snow.jpg
1276
1375
  - spec/dummy/public/uploads/pulitzer/content_element/image/161/sam_and_snow.jpg
1277
1376
  - spec/dummy/public/uploads/pulitzer/content_element/image/161/thumb_sam_and_snow.jpg
1377
+ - spec/dummy/public/uploads/pulitzer/content_element/image/199/cms_sam_and_snow.jpg
1378
+ - spec/dummy/public/uploads/pulitzer/content_element/image/199/sam_and_snow.jpg
1379
+ - spec/dummy/public/uploads/pulitzer/content_element/image/199/thumb_sam_and_snow.jpg
1278
1380
  - spec/dummy/public/uploads/pulitzer/content_element/image/21/cms_sam_and_snow.jpg
1279
1381
  - spec/dummy/public/uploads/pulitzer/content_element/image/21/sam_and_snow.jpg
1280
1382
  - spec/dummy/public/uploads/pulitzer/content_element/image/21/thumb_sam_and_snow.jpg
1383
+ - spec/dummy/public/uploads/pulitzer/content_element/image/221/cms_sam_and_snow.jpg
1384
+ - spec/dummy/public/uploads/pulitzer/content_element/image/221/sam_and_snow.jpg
1385
+ - spec/dummy/public/uploads/pulitzer/content_element/image/221/thumb_sam_and_snow.jpg
1281
1386
  - spec/dummy/public/uploads/pulitzer/content_element/image/23/cms_sam_and_snow.jpg
1282
1387
  - spec/dummy/public/uploads/pulitzer/content_element/image/23/sam_and_snow.jpg
1283
1388
  - spec/dummy/public/uploads/pulitzer/content_element/image/23/thumb_sam_and_snow.jpg
1389
+ - spec/dummy/public/uploads/pulitzer/content_element/image/243/cms_sam_and_snow.jpg
1390
+ - spec/dummy/public/uploads/pulitzer/content_element/image/243/sam_and_snow.jpg
1391
+ - spec/dummy/public/uploads/pulitzer/content_element/image/243/thumb_sam_and_snow.jpg
1392
+ - spec/dummy/public/uploads/pulitzer/content_element/image/265/cms_sam_and_snow.jpg
1393
+ - spec/dummy/public/uploads/pulitzer/content_element/image/265/sam_and_snow.jpg
1394
+ - spec/dummy/public/uploads/pulitzer/content_element/image/265/thumb_sam_and_snow.jpg
1395
+ - spec/dummy/public/uploads/pulitzer/content_element/image/287/cms_sam_and_snow.jpg
1396
+ - spec/dummy/public/uploads/pulitzer/content_element/image/287/sam_and_snow.jpg
1397
+ - spec/dummy/public/uploads/pulitzer/content_element/image/287/thumb_sam_and_snow.jpg
1284
1398
  - spec/dummy/public/uploads/pulitzer/content_element/image/301/cms_sam_and_snow.jpg
1285
1399
  - spec/dummy/public/uploads/pulitzer/content_element/image/301/sam_and_snow.jpg
1286
1400
  - spec/dummy/public/uploads/pulitzer/content_element/image/301/thumb_sam_and_snow.jpg
1401
+ - spec/dummy/public/uploads/pulitzer/content_element/image/309/cms_sam_and_snow.jpg
1402
+ - spec/dummy/public/uploads/pulitzer/content_element/image/309/sam_and_snow.jpg
1403
+ - spec/dummy/public/uploads/pulitzer/content_element/image/309/thumb_sam_and_snow.jpg
1404
+ - spec/dummy/public/uploads/pulitzer/content_element/image/331/cms_sam_and_snow.jpg
1405
+ - spec/dummy/public/uploads/pulitzer/content_element/image/331/sam_and_snow.jpg
1406
+ - spec/dummy/public/uploads/pulitzer/content_element/image/331/thumb_sam_and_snow.jpg
1407
+ - spec/dummy/public/uploads/pulitzer/content_element/image/353/cms_sam_and_snow.jpg
1408
+ - spec/dummy/public/uploads/pulitzer/content_element/image/353/sam_and_snow.jpg
1409
+ - spec/dummy/public/uploads/pulitzer/content_element/image/353/thumb_sam_and_snow.jpg
1410
+ - spec/dummy/public/uploads/pulitzer/content_element/image/375/cms_sam_and_snow.jpg
1411
+ - spec/dummy/public/uploads/pulitzer/content_element/image/375/sam_and_snow.jpg
1412
+ - spec/dummy/public/uploads/pulitzer/content_element/image/375/thumb_sam_and_snow.jpg
1413
+ - spec/dummy/public/uploads/pulitzer/content_element/image/397/cms_sam_and_snow.jpg
1414
+ - spec/dummy/public/uploads/pulitzer/content_element/image/397/sam_and_snow.jpg
1415
+ - spec/dummy/public/uploads/pulitzer/content_element/image/397/thumb_sam_and_snow.jpg
1416
+ - spec/dummy/public/uploads/pulitzer/content_element/image/419/cms_sam_and_snow.jpg
1417
+ - spec/dummy/public/uploads/pulitzer/content_element/image/419/sam_and_snow.jpg
1418
+ - spec/dummy/public/uploads/pulitzer/content_element/image/419/thumb_sam_and_snow.jpg
1419
+ - spec/dummy/public/uploads/pulitzer/content_element/image/441/cms_sam_and_snow.jpg
1420
+ - spec/dummy/public/uploads/pulitzer/content_element/image/441/sam_and_snow.jpg
1421
+ - spec/dummy/public/uploads/pulitzer/content_element/image/441/thumb_sam_and_snow.jpg
1287
1422
  - spec/dummy/public/uploads/pulitzer/content_element/image/45/cms_sam_and_snow.jpg
1288
1423
  - spec/dummy/public/uploads/pulitzer/content_element/image/45/sam_and_snow.jpg
1289
1424
  - spec/dummy/public/uploads/pulitzer/content_element/image/45/thumb_sam_and_snow.jpg
1425
+ - spec/dummy/public/uploads/pulitzer/content_element/image/463/cms_sam_and_snow.jpg
1426
+ - spec/dummy/public/uploads/pulitzer/content_element/image/463/sam_and_snow.jpg
1427
+ - spec/dummy/public/uploads/pulitzer/content_element/image/463/thumb_sam_and_snow.jpg
1428
+ - spec/dummy/public/uploads/pulitzer/content_element/image/485/cms_sam_and_snow.jpg
1429
+ - spec/dummy/public/uploads/pulitzer/content_element/image/485/sam_and_snow.jpg
1430
+ - spec/dummy/public/uploads/pulitzer/content_element/image/485/thumb_sam_and_snow.jpg
1431
+ - spec/dummy/public/uploads/pulitzer/content_element/image/507/cms_sam_and_snow.jpg
1432
+ - spec/dummy/public/uploads/pulitzer/content_element/image/507/sam_and_snow.jpg
1433
+ - spec/dummy/public/uploads/pulitzer/content_element/image/507/thumb_sam_and_snow.jpg
1434
+ - spec/dummy/public/uploads/pulitzer/content_element/image/529/cms_sam_and_snow.jpg
1435
+ - spec/dummy/public/uploads/pulitzer/content_element/image/529/sam_and_snow.jpg
1436
+ - spec/dummy/public/uploads/pulitzer/content_element/image/529/thumb_sam_and_snow.jpg
1437
+ - spec/dummy/public/uploads/pulitzer/content_element/image/551/cms_sam_and_snow.jpg
1438
+ - spec/dummy/public/uploads/pulitzer/content_element/image/551/sam_and_snow.jpg
1439
+ - spec/dummy/public/uploads/pulitzer/content_element/image/551/thumb_sam_and_snow.jpg
1290
1440
  - spec/dummy/public/uploads/pulitzer/content_element/image/561/cms_sam_and_snow.jpg
1291
1441
  - spec/dummy/public/uploads/pulitzer/content_element/image/561/sam_and_snow.jpg
1292
1442
  - spec/dummy/public/uploads/pulitzer/content_element/image/561/thumb_sam_and_snow.jpg
1293
1443
  - spec/dummy/public/uploads/pulitzer/content_element/image/581/cms_sam_and_snow.jpg
1294
1444
  - spec/dummy/public/uploads/pulitzer/content_element/image/581/sam_and_snow.jpg
1295
1445
  - spec/dummy/public/uploads/pulitzer/content_element/image/581/thumb_sam_and_snow.jpg
1446
+ - spec/dummy/public/uploads/pulitzer/content_element/image/595/cms_sam_and_snow.jpg
1447
+ - spec/dummy/public/uploads/pulitzer/content_element/image/595/sam_and_snow.jpg
1448
+ - spec/dummy/public/uploads/pulitzer/content_element/image/595/thumb_sam_and_snow.jpg
1296
1449
  - spec/dummy/public/uploads/pulitzer/content_element/image/61/cms_sam_and_snow.jpg
1297
1450
  - spec/dummy/public/uploads/pulitzer/content_element/image/61/sam_and_snow.jpg
1298
1451
  - spec/dummy/public/uploads/pulitzer/content_element/image/61/thumb_sam_and_snow.jpg
1452
+ - spec/dummy/public/uploads/pulitzer/content_element/image/617/cms_sam_and_snow.jpg
1453
+ - spec/dummy/public/uploads/pulitzer/content_element/image/617/sam_and_snow.jpg
1454
+ - spec/dummy/public/uploads/pulitzer/content_element/image/617/thumb_sam_and_snow.jpg
1455
+ - spec/dummy/public/uploads/pulitzer/content_element/image/639/cms_sam_and_snow.jpg
1456
+ - spec/dummy/public/uploads/pulitzer/content_element/image/639/sam_and_snow.jpg
1457
+ - spec/dummy/public/uploads/pulitzer/content_element/image/639/thumb_sam_and_snow.jpg
1458
+ - spec/dummy/public/uploads/pulitzer/content_element/image/661/cms_sam_and_snow.jpg
1459
+ - spec/dummy/public/uploads/pulitzer/content_element/image/661/sam_and_snow.jpg
1460
+ - spec/dummy/public/uploads/pulitzer/content_element/image/661/thumb_sam_and_snow.jpg
1299
1461
  - spec/dummy/public/uploads/pulitzer/content_element/image/67/cms_sam_and_snow.jpg
1300
1462
  - spec/dummy/public/uploads/pulitzer/content_element/image/67/sam_and_snow.jpg
1301
1463
  - spec/dummy/public/uploads/pulitzer/content_element/image/67/thumb_sam_and_snow.jpg
1464
+ - spec/dummy/public/uploads/pulitzer/content_element/image/683/cms_sam_and_snow.jpg
1465
+ - spec/dummy/public/uploads/pulitzer/content_element/image/683/sam_and_snow.jpg
1466
+ - spec/dummy/public/uploads/pulitzer/content_element/image/683/thumb_sam_and_snow.jpg
1467
+ - spec/dummy/public/uploads/pulitzer/content_element/image/705/cms_sam_and_snow.jpg
1468
+ - spec/dummy/public/uploads/pulitzer/content_element/image/705/sam_and_snow.jpg
1469
+ - spec/dummy/public/uploads/pulitzer/content_element/image/705/thumb_sam_and_snow.jpg
1470
+ - spec/dummy/public/uploads/pulitzer/content_element/image/727/cms_sam_and_snow.jpg
1471
+ - spec/dummy/public/uploads/pulitzer/content_element/image/727/sam_and_snow.jpg
1472
+ - spec/dummy/public/uploads/pulitzer/content_element/image/727/thumb_sam_and_snow.jpg
1473
+ - spec/dummy/public/uploads/pulitzer/content_element/image/749/cms_sam_and_snow.jpg
1474
+ - spec/dummy/public/uploads/pulitzer/content_element/image/749/sam_and_snow.jpg
1475
+ - spec/dummy/public/uploads/pulitzer/content_element/image/749/thumb_sam_and_snow.jpg
1476
+ - spec/dummy/public/uploads/pulitzer/content_element/image/771/cms_sam_and_snow.jpg
1477
+ - spec/dummy/public/uploads/pulitzer/content_element/image/771/sam_and_snow.jpg
1478
+ - spec/dummy/public/uploads/pulitzer/content_element/image/771/thumb_sam_and_snow.jpg
1479
+ - spec/dummy/public/uploads/pulitzer/content_element/image/793/cms_sam_and_snow.jpg
1480
+ - spec/dummy/public/uploads/pulitzer/content_element/image/793/sam_and_snow.jpg
1481
+ - spec/dummy/public/uploads/pulitzer/content_element/image/793/thumb_sam_and_snow.jpg
1302
1482
  - spec/dummy/public/uploads/pulitzer/content_element/image/81/cms_sam_and_snow.jpg
1303
1483
  - spec/dummy/public/uploads/pulitzer/content_element/image/81/sam_and_snow.jpg
1304
1484
  - spec/dummy/public/uploads/pulitzer/content_element/image/81/thumb_sam_and_snow.jpg
@@ -1623,13 +1803,13 @@ test_files:
1623
1803
  - spec/factories/post_tag.rb
1624
1804
  - spec/factories/post_type.rb
1625
1805
  - spec/factories/post_type_content_element_type.rb
1806
+ - spec/factories/post_type_version.rb
1626
1807
  - spec/factories/tag.rb
1627
1808
  - spec/factories/version.rb
1628
1809
  - spec/interactions/clone_version_spec.rb
1629
1810
  - spec/interactions/create_free_form_section_partials_spec.rb
1630
1811
  - spec/interactions/create_partial_content_elements_spec.rb
1631
1812
  - spec/interactions/create_post_content_elements_spec.rb
1632
- - spec/interactions/destroy_free_form_partials_spec.rb
1633
1813
  - spec/interactions/update_post_type_content_elements_spec.rb
1634
1814
  - spec/interactions/update_version_status_spec.rb
1635
1815
  - spec/lib/pulitzer_spec.rb