proclaim 0.5.3 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b89023e12c547a4adfbf485a94090fa7ba52e9c
4
- data.tar.gz: 0712ac5bbfc97c8c8d54f40dcab600bdb61bd004
3
+ metadata.gz: 8bce2e7e2311f573903511a372524c9f096a0870
4
+ data.tar.gz: 57f23111baf862cbd0de4f1fa0f3e7c2814ae7b1
5
5
  SHA512:
6
- metadata.gz: 21fe8c94f44b4201c59ab720b39caf5bef7aa1281867f06cd1b4e3b8c2fd5bddd1254ac4a3139a8983c29d83adc25dca30fa84754cb2cf08a57b273111ce6488
7
- data.tar.gz: 3d685aee7c7d901ca0b272487eb48c658f2ed2f67d112a5d515b4b22799534be804ca82b22286fd27ff07f044fd4cb98441607a34042959833d7c6ef4512478d
6
+ metadata.gz: 9219b01cd666a5d4c118c5c038ff11e04178c44ca71de009684ab8f88a189b1ab7a846d4b05d142f02610c8f26173206ad5ca4200c84e1e9b0d5a1542066ef05
7
+ data.tar.gz: a16ecba90c52f4e95cfd4e6dc795f4a0d9f9c449d2228e43faa7f7afee6e75fa12565cef31685b43d74aa3566ca8f0fbe9842d69c2b7a95e57d207a27599a1b9
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ v 0.5.5
2
+ - Add comment count to Post index
3
+
4
+ v 0.5.4
5
+ - Integrate with Travis CI, Sauce Labs, and Code Climate
6
+
1
7
  v 0.5.3
2
8
  - Fixed bug causing initial slugs to not be generated
3
9
 
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Proclaim
2
2
 
3
+ [![Build Status](https://travis-ci.org/kyle-f/proclaim.svg?branch=master)](https://travis-ci.org/kyle-f/proclaim)
4
+ [![Code Climate](https://codeclimate.com/github/kyle-f/proclaim/badges/gpa.svg)](https://codeclimate.com/github/kyle-f/proclaim)
5
+ [![Test Coverage](https://codeclimate.com/github/kyle-f/proclaim/badges/coverage.svg)](https://codeclimate.com/github/kyle-f/proclaim/coverage)
6
+
3
7
  Most Rails blogging tools include everything you could ever want, including
4
8
  things you don't. Proclaim tries to provide the simplest (yet beautiful)
5
9
  implementation of a blog you could want-- posts, comments, and subscriptions.
@@ -29,7 +33,7 @@ Proclaim 0.5 works with Rails 4.2 and on, with Ruby 1.9.3 and on. Add it to your
29
33
  Gemfile with:
30
34
 
31
35
  ```ruby
32
- gem 'proclaim', "~> 0.5.3"
36
+ gem 'proclaim', "~> 0.5.5"
33
37
  ```
34
38
 
35
39
  Run `bundle install` to install it.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
1
+ 0.5.5
@@ -33,7 +33,12 @@
33
33
  <% end %>
34
34
  </div>
35
35
  <%= post.author.send(Proclaim.author_name_method) %><br />
36
- <%= timeago_tag post.published_at, format: "%B %d, %Y" %>
36
+ <%= timeago_tag post.published_at, format: "%B %d, %Y" %><br />
37
+ <% if post.comments.empty? %>
38
+ No comments
39
+ <% else %>
40
+ <%= pluralize post.comments.count, "comment" %>
41
+ <% end %>
37
42
  </div>
38
43
  <% end %>
39
44
  </td>
@@ -1,3 +1,3 @@
1
1
  module Proclaim
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.5"
3
3
  end
@@ -31,20 +31,21 @@ Gem::Specification.new do |s|
31
31
  s.add_dependency "nokogiri", "~> 1.6"
32
32
  s.add_dependency "premailer", "~> 1.8"
33
33
  s.add_dependency "closure_tree", "~> 5.2"
34
- s.add_dependency "font-awesome-rails", "~> 4.2"
35
- s.add_dependency "medium-editor-rails", "~> 1.0"
34
+ s.add_dependency "font-awesome-rails", "~> 4.3"
35
+ s.add_dependency "medium-editor-rails", "~> 2.0"
36
36
  s.add_dependency "carrierwave", "~> 0.10"
37
- s.add_dependency "aasm", "~> 4.0"
38
- s.add_dependency "rails-timeago", "~> 2.11"
39
- s.add_dependency "pundit", "~> 0.3"
37
+ s.add_dependency "aasm", "~> 4.2"
38
+ s.add_dependency "rails-timeago", "~> 2.12"
39
+ s.add_dependency "pundit", "~> 1.0"
40
40
 
41
41
  s.add_development_dependency "sqlite3", "~> 1.3"
42
42
  s.add_development_dependency "factory_girl_rails", "~> 4.5"
43
43
  s.add_development_dependency "mocha", "~> 1.1"
44
44
  s.add_development_dependency "annotate", "~> 2.6"
45
45
  s.add_development_dependency "capybara", "~> 2.4"
46
- s.add_development_dependency "selenium-webdriver", "~> 2.44"
47
- s.add_development_dependency "database_cleaner", "~> 1.3"
46
+ s.add_development_dependency "selenium-webdriver", "~> 2.46"
47
+ s.add_development_dependency "database_cleaner", "~> 1.4"
48
48
  s.add_development_dependency "faker", "~> 1.4"
49
49
  s.add_development_dependency "test_after_commit", "~> 0.4"
50
+ s.add_development_dependency "codeclimate-test-reporter", "~> 0.4"
50
51
  end
@@ -1,7 +1,7 @@
1
1
  FactoryGirl.define do
2
2
  factory :comment, class: Proclaim::Comment do
3
- sequence(:author) {|n| "author#{n}"}
4
- sequence(:body) {|n| "body#{n}"}
3
+ sequence(:author) {|n| "comment#{n} author"}
4
+ sequence(:body) {|n| "comment#{n} body"}
5
5
  post
6
6
 
7
7
  factory :published_comment do
@@ -1,7 +1,7 @@
1
1
  FactoryGirl.define do
2
2
  factory :post, class: Proclaim::Post do
3
- sequence(:title) {|n| "title#{n}"}
4
- sequence(:body) {|n| "body#{n}"}
3
+ sequence(:title) {|n| "post#{n} title"}
4
+ sequence(:body) {|n| "post#{n} body"}
5
5
  association :author, factory: :user
6
6
 
7
7
  factory :published_post do
@@ -265,8 +265,8 @@ class CommentTest < ActionDispatch::IntegrationTest
265
265
  @show_page.comment_delete_link(comment).click
266
266
  page.accept_alert
267
267
 
268
- assert page.has_no_text? comment.author
269
- assert page.has_no_text? comment.body
268
+ assert page.has_no_text?(comment.author), "Comment author should be gone!"
269
+ assert page.has_no_text?(comment.body), "Comment body should be gone!"
270
270
 
271
271
  assert(wait_until { Proclaim::Comment.count == current_count - 1 },
272
272
  "Root comment should have been deleted!")
@@ -33,10 +33,10 @@ class PostFormTest < ActionDispatch::IntegrationTest
33
33
 
34
34
  within('#new_post') do
35
35
  element = find('h1.editable')
36
- #element.click()
36
+ element.click()
37
37
  element.set("Post Title") # Set the title text
38
38
  element = find('div.editable')
39
- #element.click() # Select the element
39
+ element.click() # Select the element
40
40
  element.set("Paragraph 1\nParagraph 2") # Set the body text
41
41
  end
42
42
 
@@ -147,7 +147,7 @@ class PostFormTest < ActionDispatch::IntegrationTest
147
147
 
148
148
  within('#new_post') do
149
149
  element = find('h1.editable')
150
- #element.click()
150
+ element.click()
151
151
  element.set("\"quotes\"") # Set the title text
152
152
  # Don't fill in body
153
153
  end
@@ -168,10 +168,10 @@ class PostFormTest < ActionDispatch::IntegrationTest
168
168
 
169
169
  within('#new_post') do
170
170
  element = find('h1.editable')
171
- #element.click()
171
+ element.click()
172
172
  element.set("\"quotes\"") # Set the title text
173
173
  element = find('div.editable')
174
- #element.click() # Select the element
174
+ element.click() # Select the element
175
175
  element.set("Paragraph 1\nParagraph 2") # Set the body text
176
176
  end
177
177
 
@@ -190,7 +190,7 @@ class PostFormTest < ActionDispatch::IntegrationTest
190
190
  within('#new_post') do
191
191
  # Don't fill in title
192
192
  element = find('div.editable')
193
- #element.click() # Select the element
193
+ element.click() # Select the element
194
194
  element.set("Paragraph 1\nParagraph 2") # Set the text
195
195
  end
196
196
 
@@ -211,7 +211,7 @@ class PostFormTest < ActionDispatch::IntegrationTest
211
211
 
212
212
  within('#new_post') do
213
213
  element = find('h1.editable')
214
- #element.click()
214
+ element.click()
215
215
  element.set("Post Title") # Set the title text
216
216
  # Don't fill in the body
217
217
  end
@@ -145,6 +145,39 @@ class PostTest < ActionDispatch::IntegrationTest
145
145
  "Post 3 draft should be shown before post 1 draft!"
146
146
  end
147
147
 
148
+ test "index should not show comment count for drafts" do
149
+ user = FactoryGirl.create(:user)
150
+ sign_in user
151
+
152
+ comment = FactoryGirl.create(:comment)
153
+
154
+ visit proclaim.posts_path
155
+
156
+ assert page.has_no_text? "1 comment"
157
+ end
158
+
159
+ test "index should show comment count for published post" do
160
+ user = FactoryGirl.create(:user)
161
+ sign_in user
162
+
163
+ # Verify no comments
164
+ post = FactoryGirl.create(:published_post)
165
+ visit proclaim.posts_path
166
+ assert page.has_text?("No comments"),
167
+ "Comment count should indicate no comments"
168
+
169
+ # Verify that single comment count shows up.
170
+ comment = FactoryGirl.create(:published_comment, post: post)
171
+ visit proclaim.posts_path
172
+ assert page.has_text?("1 comment"), "Comment count should be shown"
173
+
174
+ # Also verify that the comment count is properly pluralized.
175
+ comment = FactoryGirl.create(:published_comment, post: comment.post)
176
+ visit proclaim.posts_path
177
+ assert page.has_text?("2 comments"),
178
+ "Comment count should be shown and pluralized"
179
+ end
180
+
148
181
  test "show should include author name" do
149
182
  post = FactoryGirl.create(:published_post)
150
183
 
@@ -1,8 +1,12 @@
1
1
  # Configure Rails Environment
2
2
  ENV["RAILS_ENV"] = "test"
3
3
 
4
+ require "codeclimate-test-reporter"
5
+ CodeClimate::TestReporter.start
6
+
4
7
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
8
  require "rails/test_help"
9
+ require 'selenium-webdriver'
6
10
  require "factory_girl_rails"
7
11
  require "faker"
8
12
  require "mocha/mini_test"
@@ -13,28 +17,34 @@ require 'coffee_script'
13
17
  require 'sass'
14
18
 
15
19
  Rails.backtrace_cleaner.remove_silencers!
20
+ Capybara.default_wait_time = 5 # 5 seconds instead of 2, since we use fades.
16
21
 
17
22
  # Load support files
18
23
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
19
24
 
20
- #FactoryGirl.definition_file_paths << "test/dummy/test/factories"
21
- #FactoryGirl.reload
22
-
23
- #class ActionController::TestCase
24
- # include Proclaim::Engine.routes.url_helpers
25
- #end
26
-
27
- # Selenium isn't working with Firefox 35 (01/16/14). Use Chrome instead, for
28
- # now. Too bad, really... I hate Chrome.
29
- Capybara.register_driver :selenium do |app|
30
- Capybara::Selenium::Driver.new(app, :browser => :chrome)
31
- end
32
-
33
25
  class ActionDispatch::IntegrationTest
34
26
  # Make the Capybara DSL available in all integration tests
35
27
  include Capybara::DSL
36
28
  end
37
29
 
30
+ if ENV['TRAVIS']
31
+ capabilities = Selenium::WebDriver::Remote::Capabilities.send ENV["BROWSER"]
32
+ capabilities.version = ENV["VERSION"]
33
+ capabilities.platform = ENV["PLATFORM"]
34
+
35
+ capabilities['tunnel-identifier'] = ENV['TRAVIS_JOB_NUMBER']
36
+ capabilities['name'] = "Travis ##{ENV['TRAVIS_JOB_NUMBER']}"
37
+ capabilities['deviceName'] = ENV['DEVICE_NAME']
38
+ capabilities['deviceOrientation'] = ENV['DEVICE_ORIENTATION']
39
+
40
+ Capybara.register_driver :selenium do |app|
41
+ Capybara::Selenium::Driver.new(app,
42
+ browser: :remote,
43
+ url: "http://#{ENV['SAUCE_USERNAME']}:#{ENV['SAUCE_ACCESS_KEY']}@ondemand.saucelabs.com/wd/hub",
44
+ desired_capabilities: capabilities)
45
+ end
46
+ end
47
+
38
48
  def sign_in(user)
39
49
  ApplicationController.any_instance.stubs(:current_user).returns(user)
40
50
  ApplicationController.any_instance.stubs(:authenticate_user).returns(true)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proclaim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Fazzari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-14 00:00:00.000000000 Z
11
+ date: 2015-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -142,28 +142,28 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '4.2'
145
+ version: '4.3'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '4.2'
152
+ version: '4.3'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: medium-editor-rails
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '1.0'
159
+ version: '2.0'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '1.0'
166
+ version: '2.0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: carrierwave
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -184,42 +184,42 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '4.0'
187
+ version: '4.2'
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '4.0'
194
+ version: '4.2'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rails-timeago
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '2.11'
201
+ version: '2.12'
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '2.11'
208
+ version: '2.12'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: pundit
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '0.3'
215
+ version: '1.0'
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '0.3'
222
+ version: '1.0'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: sqlite3
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -296,28 +296,28 @@ dependencies:
296
296
  requirements:
297
297
  - - "~>"
298
298
  - !ruby/object:Gem::Version
299
- version: '2.44'
299
+ version: '2.46'
300
300
  type: :development
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - "~>"
305
305
  - !ruby/object:Gem::Version
306
- version: '2.44'
306
+ version: '2.46'
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: database_cleaner
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
311
  - - "~>"
312
312
  - !ruby/object:Gem::Version
313
- version: '1.3'
313
+ version: '1.4'
314
314
  type: :development
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
318
  - - "~>"
319
319
  - !ruby/object:Gem::Version
320
- version: '1.3'
320
+ version: '1.4'
321
321
  - !ruby/object:Gem::Dependency
322
322
  name: faker
323
323
  requirement: !ruby/object:Gem::Requirement
@@ -346,6 +346,20 @@ dependencies:
346
346
  - - "~>"
347
347
  - !ruby/object:Gem::Version
348
348
  version: '0.4'
349
+ - !ruby/object:Gem::Dependency
350
+ name: codeclimate-test-reporter
351
+ requirement: !ruby/object:Gem::Requirement
352
+ requirements:
353
+ - - "~>"
354
+ - !ruby/object:Gem::Version
355
+ version: '0.4'
356
+ type: :development
357
+ prerelease: false
358
+ version_requirements: !ruby/object:Gem::Requirement
359
+ requirements:
360
+ - - "~>"
361
+ - !ruby/object:Gem::Version
362
+ version: '0.4'
349
363
  description: "\t\tMost Rails blogging tools include everything you could ever want,\n\t\tincluding
350
364
  things you don't. Proclaim tries to provide the simplest (yet\n\t\tbeautiful) implementation
351
365
  of a blog via a mountable engine; if more\n\t\tfunctionality is desired, it can
@@ -542,79 +556,79 @@ signing_key:
542
556
  specification_version: 4
543
557
  summary: A Rails blogging engine that simplifies your life.
544
558
  test_files:
545
- - test/dummy/public/500.html
546
- - test/dummy/public/favicon.ico
559
+ - test/integration/with_javascript/post_form_test.rb
560
+ - test/integration/with_javascript/comment_test.rb
561
+ - test/integration/with_javascript/post_subscription_test.rb
562
+ - test/integration/with_javascript/post_show_test.rb
563
+ - test/integration/without_javascript/subscription_email_test.rb
564
+ - test/integration/without_javascript/blog_subscription_test.rb
565
+ - test/integration/without_javascript/manage_subscriptions_test.rb
566
+ - test/integration/without_javascript/post_test.rb
567
+ - test/integration/without_javascript/unsubscribe_test.rb
568
+ - test/dummy/Rakefile
547
569
  - test/dummy/public/422.html
570
+ - test/dummy/public/favicon.ico
548
571
  - test/dummy/public/404.html
549
- - test/dummy/README.rdoc
550
- - test/dummy/bin/rake
551
- - test/dummy/bin/rails
572
+ - test/dummy/public/500.html
573
+ - test/dummy/app/assets/stylesheets/application.css
574
+ - test/dummy/app/assets/javascripts/application.js
575
+ - test/dummy/app/controllers/application_controller.rb
576
+ - test/dummy/app/models/user.rb
577
+ - test/dummy/app/views/layouts/application.html.erb
578
+ - test/dummy/app/helpers/application_helper.rb
552
579
  - test/dummy/bin/bundle
580
+ - test/dummy/bin/rails
581
+ - test/dummy/bin/rake
582
+ - test/dummy/config.ru
553
583
  - test/dummy/db/schema.rb
554
584
  - test/dummy/db/migrate/20141117214323_create_users.rb
555
- - test/dummy/config.ru
556
- - test/dummy/Rakefile
557
- - test/dummy/config/locales/en.yml
558
- - test/dummy/config/secrets.yml
559
- - test/dummy/config/initializers/wrap_parameters.rb
560
- - test/dummy/config/initializers/cookies_serializer.rb
561
- - test/dummy/config/initializers/assets.rb
562
- - test/dummy/config/initializers/backtrace_silencers.rb
563
- - test/dummy/config/initializers/session_store.rb
564
- - test/dummy/config/initializers/filter_parameter_logging.rb
565
- - test/dummy/config/initializers/inflections.rb
566
- - test/dummy/config/initializers/mime_types.rb
567
585
  - test/dummy/config/routes.rb
586
+ - test/dummy/config/secrets.yml
568
587
  - test/dummy/config/application.rb
588
+ - test/dummy/config/locales/en.yml
589
+ - test/dummy/config/database.yml
590
+ - test/dummy/config/environment.rb
591
+ - test/dummy/config/environments/test.rb
569
592
  - test/dummy/config/environments/production.rb
570
593
  - test/dummy/config/environments/development.rb
571
- - test/dummy/config/environments/test.rb
572
- - test/dummy/config/database.yml
573
594
  - test/dummy/config/boot.rb
574
- - test/dummy/config/environment.rb
575
- - test/dummy/app/helpers/application_helper.rb
576
- - test/dummy/app/models/user.rb
577
- - test/dummy/app/controllers/application_controller.rb
578
- - test/dummy/app/views/layouts/application.html.erb
579
- - test/dummy/app/assets/javascripts/application.js
580
- - test/dummy/app/assets/stylesheets/application.css
581
- - test/integration/with_javascript/comment_test.rb
582
- - test/integration/with_javascript/post_subscription_test.rb
583
- - test/integration/with_javascript/post_form_test.rb
584
- - test/integration/with_javascript/post_show_test.rb
585
- - test/integration/without_javascript/post_test.rb
586
- - test/integration/without_javascript/subscription_email_test.rb
587
- - test/integration/without_javascript/unsubscribe_test.rb
588
- - test/integration/without_javascript/manage_subscriptions_test.rb
589
- - test/integration/without_javascript/blog_subscription_test.rb
590
- - test/unit/proclaim/new_comment_callback_test.rb
591
- - test/unit/proclaim/post_published_callback_test.rb
592
- - test/unit/proclaim/new_subscription_callback_test.rb
595
+ - test/dummy/config/initializers/filter_parameter_logging.rb
596
+ - test/dummy/config/initializers/wrap_parameters.rb
597
+ - test/dummy/config/initializers/mime_types.rb
598
+ - test/dummy/config/initializers/backtrace_silencers.rb
599
+ - test/dummy/config/initializers/session_store.rb
600
+ - test/dummy/config/initializers/assets.rb
601
+ - test/dummy/config/initializers/cookies_serializer.rb
602
+ - test/dummy/config/initializers/inflections.rb
603
+ - test/dummy/README.rdoc
604
+ - test/policies/proclaim/subscription_policy_test.rb
605
+ - test/policies/proclaim/post_policy_test.rb
606
+ - test/policies/proclaim/image_policy_test.rb
607
+ - test/policies/proclaim/comment_policy_test.rb
593
608
  - test/proclaim_test.rb
594
- - test/support/pages/posts/edit_page.rb
595
- - test/support/pages/posts/show_page.rb
596
- - test/support/images/test.jpg
597
- - test/support/wait_for_ajax.rb
598
- - test/test_helper.rb
599
- - test/helpers/proclaim/subscriptions_helper_test.rb
600
- - test/helpers/proclaim/comments_helper_test.rb
601
- - test/helpers/proclaim/posts_helper_test.rb
602
609
  - test/factories/user.rb
603
- - test/factories/proclaim/image.rb
610
+ - test/factories/proclaim/post.rb
604
611
  - test/factories/proclaim/comment.rb
605
612
  - test/factories/proclaim/subscription.rb
606
- - test/factories/proclaim/post.rb
613
+ - test/factories/proclaim/image.rb
614
+ - test/test_helper.rb
615
+ - test/controllers/proclaim/posts_controller_test.rb
616
+ - test/controllers/proclaim/images_controller_test.rb
617
+ - test/controllers/proclaim/comments_controller_test.rb
618
+ - test/controllers/proclaim/subscriptions_controller_test.rb
619
+ - test/support/images/test.jpg
620
+ - test/support/wait_for_ajax.rb
621
+ - test/support/pages/posts/edit_page.rb
622
+ - test/support/pages/posts/show_page.rb
623
+ - test/models/proclaim/comment_test.rb
607
624
  - test/models/proclaim/subscription_test.rb
608
625
  - test/models/proclaim/post_test.rb
609
- - test/models/proclaim/comment_test.rb
610
626
  - test/models/proclaim/image_test.rb
611
627
  - test/mailers/previews/proclaim/subscription_mailer_preview.rb
612
628
  - test/mailers/proclaim/subscription_mailer_test.rb
613
- - test/controllers/proclaim/comments_controller_test.rb
614
- - test/controllers/proclaim/images_controller_test.rb
615
- - test/controllers/proclaim/subscriptions_controller_test.rb
616
- - test/controllers/proclaim/posts_controller_test.rb
617
- - test/policies/proclaim/image_policy_test.rb
618
- - test/policies/proclaim/post_policy_test.rb
619
- - test/policies/proclaim/subscription_policy_test.rb
620
- - test/policies/proclaim/comment_policy_test.rb
629
+ - test/helpers/proclaim/comments_helper_test.rb
630
+ - test/helpers/proclaim/posts_helper_test.rb
631
+ - test/helpers/proclaim/subscriptions_helper_test.rb
632
+ - test/unit/proclaim/new_comment_callback_test.rb
633
+ - test/unit/proclaim/post_published_callback_test.rb
634
+ - test/unit/proclaim/new_subscription_callback_test.rb