blogue 0.1.0 → 0.2.0

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: 2ee9e5be235fbe3448b9e20c8129c1d89120dfee
4
- data.tar.gz: f783901f12272f9a11049fb72655262e60da2df8
3
+ metadata.gz: ba24c1eedabc7704dac06ec3d39d1b457f58f1ce
4
+ data.tar.gz: 4529e22438f06da0679438e3347e7b5d486ff833
5
5
  SHA512:
6
- metadata.gz: facab2aa3b4abc17e28ec19f8ca1d2a974ac9af97dc8bd007bfc087a30cfa735dc0aa0805a4869a7ec1878f739261d249a01830d9f9eeb80fd38f33bd70aba67
7
- data.tar.gz: ba72d6fa3405e3c0bdf511fdafe4842ee181d757af12ed2dd3767a2639fd59b4175e945eee4a370bdbcc9328decd5b1cd93aa457e2298879d79be29bee6890b7
6
+ metadata.gz: e1b0ff3d035810a5de8c7662e55eface026cfe3bc2f6032425787ca0c1a87d94111cceebb28107495af0e5aa5742d4c4f18791a544c1eae44877f6580142e007
7
+ data.tar.gz: 41c7d58e521808732496471803cd4a9454112293fb510978e3cab70db7a10ef70391d89e3412877f11b99c0fea9e0062f0193611a160be78d139ee75610f2cdf
data/README.md CHANGED
@@ -8,7 +8,7 @@ Blogue is a rails model for static blog posts, wrapped in an engine. It means th
8
8
 
9
9
  * A `Blogue::Post` model
10
10
  * Handler for ".md" views ([kramdown](https://github.com/gettalong/kramdown/) by default)
11
- * Syntax highlighting for code blocks ([rouge](https://github.com/jayferd/rouge) by default)
11
+ * Syntax highlighting for code blocks ([rouge](https://github.com/jneen/rouge) by default)
12
12
 
13
13
  ## What you don't get
14
14
 
@@ -1,5 +1,10 @@
1
+ require 'active_model'
2
+
1
3
  module Blogue
2
4
  class Post
5
+ extend ::ActiveModel::Naming
6
+ include ::ActiveModel::Conversion
7
+
3
8
  class << self
4
9
  def find(id)
5
10
  all.find{ |p| p.id == id }
@@ -40,10 +45,6 @@ module Blogue
40
45
  end[1..-2].try(:join, "\n") || ''
41
46
  ) || {}
42
47
  end
43
-
44
- def cache_key
45
- "blogue/#{Blogue.blanket_checksum}"
46
- end
47
48
  end
48
49
 
49
50
  attr_reader :path
@@ -52,6 +53,10 @@ module Blogue
52
53
  @path = path
53
54
  end
54
55
 
56
+ def persisted?
57
+ true
58
+ end
59
+
55
60
  def id
56
61
  self.class.extract_post_id(path)
57
62
  end
@@ -77,7 +82,7 @@ module Blogue
77
82
  end
78
83
 
79
84
  def author_name
80
- meta_author_name || config_author_name || whoami_author_name
85
+ meta_author_name || config_author_name
81
86
  end
82
87
 
83
88
  def private?
@@ -89,7 +94,7 @@ module Blogue
89
94
  end
90
95
 
91
96
  def cache_key
92
- "blogue/posts/#{id}/#{Blogue.checksums[id]}"
97
+ "blogue/posts/#{id}/#{Blogue.posts_cache_keys[id]}"
93
98
  end
94
99
 
95
100
  def to_partial_path
@@ -134,10 +139,6 @@ module Blogue
134
139
  Blogue.author_name
135
140
  end
136
141
 
137
- def whoami_author_name
138
- `whoami`.strip
139
- end
140
-
141
142
  def filename_with_underscore?
142
143
  File.basename(path).starts_with?('_')
143
144
  end
data/lib/blogue.rb CHANGED
@@ -1,62 +1,62 @@
1
1
  require 'blogue/engine'
2
+ require 'blogue/kramdown_template_handler'
2
3
  require 'digest'
3
4
 
4
5
  module Blogue
5
- mattr_accessor :author_name
6
- mattr_accessor :assets_path
7
-
8
- mattr_accessor :posts_path
9
- self.posts_path = 'app/posts'
10
-
11
- mattr_accessor :checksum_calc
12
- self.checksum_calc = -> post do
6
+ DEFAULT_AUTHOR_NAME = `whoami`.strip.freeze
7
+ DEFAULT_POSTS_PATH = 'app/posts'.freeze
8
+ DEFAULT_ASSETS_PATH = -> { "#{Blogue.posts_path}/assets" }
9
+ DEFAULT_COMPUTE_POST_CACHE_KEY = -> post {
13
10
  Digest::MD5.hexdigest([post.id, post.author_name, post.body].join)
14
- end
15
-
16
- mattr_accessor :blanket_checksum_calc
17
- self.blanket_checksum_calc = -> do
18
- Digest::MD5.hexdigest(checksums.values.sort.join)
19
- end
20
-
21
- mattr_accessor :default_markdown_format_handler
22
- self.default_markdown_format_handler = -> template {
23
- mdown = ActionView::Template.registered_template_handler(:erb).(template)
24
- "Kramdown::Document.new(begin;#{mdown};end).to_blogue"
25
11
  }
26
-
27
- mattr_accessor :default_kramdown_codeblock_handler
28
- self.default_kramdown_codeblock_handler = -> el, indent {
29
- attr = el.attr.dup
30
- lang = extract_code_language!(attr)
31
-
32
- begin
33
- Rouge.highlight(el.value, lang || 'text', 'html')
34
- rescue RuntimeError
35
- Rouge.highlight(el.value, 'text', 'html')
12
+ DEFAULT_ROUGE_KRAMDOWN_OPTIONS = {
13
+ :syntax_highlighter => :rouge,
14
+ :syntax_highlighter_opts => { default_lang: 'ruby' }.freeze
15
+ }.freeze
16
+
17
+ class << self
18
+ attr_accessor \
19
+ :author_name,
20
+ :posts_path,
21
+ :compute_post_cache_key,
22
+ :assets_path
23
+
24
+ attr_reader \
25
+ :posts_cache_keys,
26
+ :cache_key,
27
+ :started_at,
28
+ :markdown_template_handler
29
+
30
+ def setup_defaults!
31
+ self.author_name = DEFAULT_AUTHOR_NAME
32
+ self.posts_path = DEFAULT_POSTS_PATH
33
+ self.assets_path = DEFAULT_ASSETS_PATH
34
+ self.compute_post_cache_key = DEFAULT_COMPUTE_POST_CACHE_KEY
35
+
36
+ @markdown_template_handler = detect_markdown_template_handler
37
+ @started_at = Time.current.freeze
36
38
  end
37
- }
38
39
 
39
- mattr_accessor :markdown_format_handler
40
- def self.setup_kramdown_for_handling_md_files
41
- require 'kramdown/converter/blogue'
42
- self.markdown_format_handler ||= default_markdown_format_handler
43
- ActionView::Template.register_template_handler :md, markdown_format_handler
44
- end
40
+ def compute_cache_keys!
41
+ @posts_cache_keys = Hash[Post.all.map { |p|
42
+ [p.id.freeze, Blogue.compute_post_cache_key.(p).freeze]
43
+ }].freeze
45
44
 
46
- mattr_accessor :kramdown_codeblock_handler
47
- def self.use_rouge_codeblock_handler
48
- self.kramdown_codeblock_handler ||= default_kramdown_codeblock_handler
49
- end
45
+ @cache_key = Digest::MD5.hexdigest(
46
+ @posts_cache_keys.values.sort.join
47
+ ).freeze
48
+ end
50
49
 
51
- mattr_accessor :checksums
52
- def self.set_checksums
53
- self.checksums = Hash[
54
- Post.all.map{ |p| [p.id, checksum_calc.(p)] }
55
- ]
56
- end
50
+ def markdown_template_preprocessor=(preprocessor)
51
+ self.markdown_template_handler.preprocessor = preprocessor
52
+ end
57
53
 
58
- mattr_accessor :blanket_checksum
59
- def self.set_blanket_checksum
60
- self.blanket_checksum = blanket_checksum_calc.()
54
+ def detect_markdown_template_handler
55
+ if defined?(Kramdown) && defined?(Rouge)
56
+ KramdownTemplateHandler.new(DEFAULT_ROUGE_KRAMDOWN_OPTIONS)
57
+ elsif defined?(Kramdown)
58
+ KramdownTemplateHandler.new
59
+ end
60
+ end
61
61
  end
62
62
  end
data/lib/blogue/engine.rb CHANGED
@@ -2,21 +2,22 @@ module Blogue
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace Blogue
4
4
 
5
- initializer 'blogue.append_asset_path' do |app|
6
- app.config.assets.paths << (
7
- File.expand_path(Blogue.assets_path || "#{Blogue.posts_path}/assets")
8
- )
5
+ config.before_initialize do
6
+ Blogue.setup_defaults!
7
+ end
8
+
9
+ initializer('blogue.setup', :after => 'append_asset_paths') do |app|
10
+ app.config.assets.paths <<
11
+ (Blogue.assets_path.respond_to?(:call) ?
12
+ Blogue.assets_path.call : Blogue.assets_path)
9
13
 
10
14
  app.config.assets.precompile += ['*.jpg', '*.png', '*.gif']
11
- end
12
15
 
13
- config.after_initialize do
14
- if defined?(Kramdown)
15
- Blogue.setup_kramdown_for_handling_md_files
16
- Blogue.use_rouge_codeblock_handler if defined?(Rouge)
17
- Blogue.set_checksums
18
- Blogue.set_blanket_checksum
16
+ if handler = Blogue.markdown_template_handler
17
+ ActionView::Template.register_template_handler(:md, handler)
19
18
  end
19
+
20
+ Blogue.compute_cache_keys!
20
21
  end
21
22
  end
22
23
  end
@@ -0,0 +1,15 @@
1
+ module Blogue
2
+ class KramdownTemplateHandler
3
+ attr_writer :preprocessor
4
+
5
+ def initialize(options = {})
6
+ @options = options
7
+ end
8
+
9
+ def call(template)
10
+ @preprocessor.call(template) if @preprocessor.respond_to?(:call)
11
+ mdown = ActionView::Template.registered_template_handler(:erb).(template)
12
+ "Kramdown::Document.new(begin;#{mdown};end, #{@options.inspect}).to_html"
13
+ end
14
+ end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module Blogue
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -19,8 +19,8 @@ Dummy::Application.configure do
19
19
  # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
20
20
  # config.action_dispatch.rack_cache = true
21
21
 
22
- # Disable Rails's static asset server (Apache or nginx will already do this).
23
- config.serve_static_assets = false
22
+ # Disable Rails's static file server (Apache or nginx will already do this).
23
+ config.serve_static_files = false
24
24
 
25
25
  # Compress JavaScripts and CSS.
26
26
  config.assets.js_compressor = :uglifier
@@ -12,8 +12,8 @@ Dummy::Application.configure do
12
12
  # preloads Rails for running tests, you may have to set it to true.
13
13
  config.eager_load = false
14
14
 
15
- # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_assets = true
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
17
  config.static_cache_control = "public, max-age=3600"
18
18
 
19
19
  # Show full error reports and disable caching.
@@ -33,4 +33,6 @@ Dummy::Application.configure do
33
33
 
34
34
  # Print deprecation notices to the stderr.
35
35
  config.active_support.deprecation = :stderr
36
+
37
+ config.active_support.test_order = :random
36
38
  end
@@ -3918,3 +3918,1746 @@ Started GET "/header-title" for 127.0.0.1 at 2014-06-12 17:32:28 -0400
3918
3918
  Processing by PostsController#show as HTML
3919
3919
  Parameters: {"id"=>"header-title"}
3920
3920
  Completed 200 OK in 9ms (Views: 8.1ms)
3921
+ ---------------------------------------------------------------------
3922
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
3923
+ ---------------------------------------------------------------------
3924
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-26 13:37:42 -0400
3925
+ -----------------------------------------------------
3926
+ ConfigurationTest: test_renders_codeblocks_with_rouge
3927
+ -----------------------------------------------------
3928
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-26 13:37:42 -0400
3929
+ Processing by PostsController#show as HTML
3930
+ Parameters: {"id"=>"code-block"}
3931
+ Completed 200 OK in 52ms (Views: 50.8ms)
3932
+ ------------------------------------------------------
3933
+ ConfigurationTest: test_renders_markdown_with_kramdown
3934
+ ------------------------------------------------------
3935
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-26 13:37:42 -0400
3936
+ Processing by PostsController#show as HTML
3937
+ Parameters: {"id"=>"header-title"}
3938
+ Completed 200 OK in 11ms (Views: 10.0ms)
3939
+ -----------------------------------------------------
3940
+ Blogue::PostTest: test_date_returns_date_part_of_time
3941
+ -----------------------------------------------------
3942
+ ------------------------------------------------------------
3943
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
3944
+ ------------------------------------------------------------
3945
+ -------------------------------------------------------------------------------------
3946
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
3947
+ -------------------------------------------------------------------------------------
3948
+ ---------------------------------------
3949
+ Blogue::PostTest: test_finds_post_by_id
3950
+ ---------------------------------------
3951
+ -------------------------------------------------------------
3952
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
3953
+ -------------------------------------------------------------
3954
+ ----------------------------------------------------------------
3955
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
3956
+ ----------------------------------------------------------------
3957
+ -----------------------------------------------------------------------
3958
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
3959
+ -----------------------------------------------------------------------
3960
+ ---------------------------------------------------------------
3961
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
3962
+ ---------------------------------------------------------------
3963
+ -------------------------------------------------
3964
+ Blogue::PostTest: test_uses_meta_title_if_present
3965
+ -------------------------------------------------
3966
+ -----------------------------------------------------
3967
+ Blogue::PostTest: test_uses_time_from_meta_when_given
3968
+ -----------------------------------------------------
3969
+ ---------------------------------------------------------------------
3970
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
3971
+ ---------------------------------------------------------------------
3972
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-26 13:45:04 -0400
3973
+ -----------------------------------------------------
3974
+ ConfigurationTest: test_renders_codeblocks_with_rouge
3975
+ -----------------------------------------------------
3976
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-26 13:45:04 -0400
3977
+ Processing by PostsController#show as HTML
3978
+ Parameters: {"id"=>"code-block"}
3979
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (31.7ms)
3980
+ Rendered posts/show.html.erb within layouts/application (37.4ms)
3981
+ Completed 200 OK in 48ms (Views: 46.4ms)
3982
+ ------------------------------------------------------
3983
+ ConfigurationTest: test_renders_markdown_with_kramdown
3984
+ ------------------------------------------------------
3985
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-26 13:45:04 -0400
3986
+ Processing by PostsController#show as HTML
3987
+ Parameters: {"id"=>"header-title"}
3988
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.3ms)
3989
+ Rendered posts/show.html.erb within layouts/application (6.5ms)
3990
+ Completed 200 OK in 9ms (Views: 7.3ms)
3991
+ -----------------------------------------------------
3992
+ Blogue::PostTest: test_date_returns_date_part_of_time
3993
+ -----------------------------------------------------
3994
+ ------------------------------------------------------------
3995
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
3996
+ ------------------------------------------------------------
3997
+ -------------------------------------------------------------------------------------
3998
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
3999
+ -------------------------------------------------------------------------------------
4000
+ ---------------------------------------
4001
+ Blogue::PostTest: test_finds_post_by_id
4002
+ ---------------------------------------
4003
+ -------------------------------------------------------------
4004
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4005
+ -------------------------------------------------------------
4006
+ ----------------------------------------------------------------
4007
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4008
+ ----------------------------------------------------------------
4009
+ -----------------------------------------------------------------------
4010
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4011
+ -----------------------------------------------------------------------
4012
+ ---------------------------------------------------------------
4013
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4014
+ ---------------------------------------------------------------
4015
+ -------------------------------------------------
4016
+ Blogue::PostTest: test_uses_meta_title_if_present
4017
+ -------------------------------------------------
4018
+ -----------------------------------------------------
4019
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4020
+ -----------------------------------------------------
4021
+ ---------------------------------------------------------------------
4022
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4023
+ ---------------------------------------------------------------------
4024
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-26 13:46:00 -0400
4025
+ -----------------------------------------------------
4026
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4027
+ -----------------------------------------------------
4028
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-26 13:46:00 -0400
4029
+ Processing by PostsController#show as HTML
4030
+ Parameters: {"id"=>"code-block"}
4031
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (26.1ms)
4032
+ Rendered posts/show.html.erb within layouts/application (33.5ms)
4033
+ Completed 200 OK in 46ms (Views: 44.5ms)
4034
+ ------------------------------------------------------
4035
+ ConfigurationTest: test_renders_markdown_with_kramdown
4036
+ ------------------------------------------------------
4037
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-26 13:46:00 -0400
4038
+ Processing by PostsController#show as HTML
4039
+ Parameters: {"id"=>"header-title"}
4040
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.2ms)
4041
+ Rendered posts/show.html.erb within layouts/application (6.6ms)
4042
+ Completed 200 OK in 9ms (Views: 7.3ms)
4043
+ -----------------------------------------------------
4044
+ Blogue::PostTest: test_date_returns_date_part_of_time
4045
+ -----------------------------------------------------
4046
+ ------------------------------------------------------------
4047
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4048
+ ------------------------------------------------------------
4049
+ -------------------------------------------------------------------------------------
4050
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4051
+ -------------------------------------------------------------------------------------
4052
+ ---------------------------------------
4053
+ Blogue::PostTest: test_finds_post_by_id
4054
+ ---------------------------------------
4055
+ -------------------------------------------------------------
4056
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4057
+ -------------------------------------------------------------
4058
+ ----------------------------------------------------------------
4059
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4060
+ ----------------------------------------------------------------
4061
+ -----------------------------------------------------------------------
4062
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4063
+ -----------------------------------------------------------------------
4064
+ ---------------------------------------------------------------
4065
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4066
+ ---------------------------------------------------------------
4067
+ -------------------------------------------------
4068
+ Blogue::PostTest: test_uses_meta_title_if_present
4069
+ -------------------------------------------------
4070
+ -----------------------------------------------------
4071
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4072
+ -----------------------------------------------------
4073
+ ---------------------------------------------------------------------
4074
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4075
+ ---------------------------------------------------------------------
4076
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-26 13:46:23 -0400
4077
+ -----------------------------------------------------
4078
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4079
+ -----------------------------------------------------
4080
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-26 13:46:23 -0400
4081
+ Processing by PostsController#show as HTML
4082
+ Parameters: {"id"=>"code-block"}
4083
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (21.6ms)
4084
+ Rendered posts/show.html.erb within layouts/application (28.4ms)
4085
+ Completed 200 OK in 41ms (Views: 39.9ms)
4086
+ ------------------------------------------------------
4087
+ ConfigurationTest: test_renders_markdown_with_kramdown
4088
+ ------------------------------------------------------
4089
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-26 13:46:23 -0400
4090
+ Processing by PostsController#show as HTML
4091
+ Parameters: {"id"=>"header-title"}
4092
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.1ms)
4093
+ Rendered posts/show.html.erb within layouts/application (6.4ms)
4094
+ Completed 200 OK in 8ms (Views: 7.1ms)
4095
+ -----------------------------------------------------
4096
+ Blogue::PostTest: test_date_returns_date_part_of_time
4097
+ -----------------------------------------------------
4098
+ ------------------------------------------------------------
4099
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4100
+ ------------------------------------------------------------
4101
+ -------------------------------------------------------------------------------------
4102
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4103
+ -------------------------------------------------------------------------------------
4104
+ ---------------------------------------
4105
+ Blogue::PostTest: test_finds_post_by_id
4106
+ ---------------------------------------
4107
+ -------------------------------------------------------------
4108
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4109
+ -------------------------------------------------------------
4110
+ ----------------------------------------------------------------
4111
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4112
+ ----------------------------------------------------------------
4113
+ -----------------------------------------------------------------------
4114
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4115
+ -----------------------------------------------------------------------
4116
+ ---------------------------------------------------------------
4117
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4118
+ ---------------------------------------------------------------
4119
+ -------------------------------------------------
4120
+ Blogue::PostTest: test_uses_meta_title_if_present
4121
+ -------------------------------------------------
4122
+ -----------------------------------------------------
4123
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4124
+ -----------------------------------------------------
4125
+ -------------------------------------------------
4126
+ Blogue::PostTest: test_uses_meta_title_if_present
4127
+ -------------------------------------------------
4128
+ ---------------------------------------
4129
+ Blogue::PostTest: test_finds_post_by_id
4130
+ ---------------------------------------
4131
+ ---------------------------------------------------------------
4132
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4133
+ ---------------------------------------------------------------
4134
+ ------------------------------------------------------------
4135
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4136
+ ------------------------------------------------------------
4137
+ ----------------------------------------------------------------
4138
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4139
+ ----------------------------------------------------------------
4140
+ -----------------------------------------------------
4141
+ Blogue::PostTest: test_date_returns_date_part_of_time
4142
+ -----------------------------------------------------
4143
+ -----------------------------------------------------------------------
4144
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4145
+ -----------------------------------------------------------------------
4146
+ -------------------------------------------------------------
4147
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4148
+ -------------------------------------------------------------
4149
+ -----------------------------------------------------
4150
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4151
+ -----------------------------------------------------
4152
+ -------------------------------------------------------------------------------------
4153
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4154
+ -------------------------------------------------------------------------------------
4155
+ ------------------------------------------------------
4156
+ ConfigurationTest: test_renders_markdown_with_kramdown
4157
+ ------------------------------------------------------
4158
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-26 13:46:52 -0400
4159
+ Processing by PostsController#show as HTML
4160
+ Parameters: {"id"=>"header-title"}
4161
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (26.8ms)
4162
+ Rendered posts/show.html.erb within layouts/application (33.2ms)
4163
+ Completed 200 OK in 164ms (Views: 162.3ms)
4164
+ -----------------------------------------------------
4165
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4166
+ -----------------------------------------------------
4167
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-26 13:46:53 -0400
4168
+ Processing by PostsController#show as HTML
4169
+ Parameters: {"id"=>"code-block"}
4170
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (3.9ms)
4171
+ Rendered posts/show.html.erb within layouts/application (9.5ms)
4172
+ Completed 200 OK in 12ms (Views: 10.3ms)
4173
+ ---------------------------------------------------------------------
4174
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4175
+ ---------------------------------------------------------------------
4176
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-26 13:46:53 -0400
4177
+ -----------------------------------------------------
4178
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4179
+ -----------------------------------------------------
4180
+ ---------------------------------------
4181
+ Blogue::PostTest: test_finds_post_by_id
4182
+ ---------------------------------------
4183
+ -------------------------------------------------------------
4184
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4185
+ -------------------------------------------------------------
4186
+ ---------------------------------------------------------------
4187
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4188
+ ---------------------------------------------------------------
4189
+ ----------------------------------------------------------------
4190
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4191
+ ----------------------------------------------------------------
4192
+ -----------------------------------------------------
4193
+ Blogue::PostTest: test_date_returns_date_part_of_time
4194
+ -----------------------------------------------------
4195
+ ------------------------------------------------------------
4196
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4197
+ ------------------------------------------------------------
4198
+ -------------------------------------------------------------------------------------
4199
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4200
+ -------------------------------------------------------------------------------------
4201
+ -------------------------------------------------
4202
+ Blogue::PostTest: test_uses_meta_title_if_present
4203
+ -------------------------------------------------
4204
+ -----------------------------------------------------------------------
4205
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4206
+ -----------------------------------------------------------------------
4207
+ ------------------------------------------------------
4208
+ ConfigurationTest: test_renders_markdown_with_kramdown
4209
+ ------------------------------------------------------
4210
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-26 13:46:55 -0400
4211
+ Processing by PostsController#show as HTML
4212
+ Parameters: {"id"=>"header-title"}
4213
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (27.7ms)
4214
+ Rendered posts/show.html.erb within layouts/application (34.2ms)
4215
+ Completed 200 OK in 162ms (Views: 160.7ms)
4216
+ ---------------------------------------------------------------------
4217
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4218
+ ---------------------------------------------------------------------
4219
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-26 13:46:56 -0400
4220
+ -----------------------------------------------------
4221
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4222
+ -----------------------------------------------------
4223
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-26 13:46:56 -0400
4224
+ Processing by PostsController#show as HTML
4225
+ Parameters: {"id"=>"code-block"}
4226
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.3ms)
4227
+ Rendered posts/show.html.erb within layouts/application (6.6ms)
4228
+ Completed 200 OK in 9ms (Views: 7.3ms)
4229
+ ----------------------------------------------------------------
4230
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4231
+ ----------------------------------------------------------------
4232
+ -------------------------------------------------
4233
+ Blogue::PostTest: test_uses_meta_title_if_present
4234
+ -------------------------------------------------
4235
+ -------------------------------------------------------------------------------------
4236
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4237
+ -------------------------------------------------------------------------------------
4238
+ -----------------------------------------------------------------------
4239
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4240
+ -----------------------------------------------------------------------
4241
+ ---------------------------------------
4242
+ Blogue::PostTest: test_finds_post_by_id
4243
+ ---------------------------------------
4244
+ -----------------------------------------------------
4245
+ Blogue::PostTest: test_date_returns_date_part_of_time
4246
+ -----------------------------------------------------
4247
+ -------------------------------------------------------------
4248
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4249
+ -------------------------------------------------------------
4250
+ -----------------------------------------------------
4251
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4252
+ -----------------------------------------------------
4253
+ ------------------------------------------------------------
4254
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4255
+ ------------------------------------------------------------
4256
+ ---------------------------------------------------------------
4257
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4258
+ ---------------------------------------------------------------
4259
+ ---------------------------------------------------------------------
4260
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4261
+ ---------------------------------------------------------------------
4262
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-26 13:46:58 -0400
4263
+ -----------------------------------------------------
4264
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4265
+ -----------------------------------------------------
4266
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-26 13:46:59 -0400
4267
+ Processing by PostsController#show as HTML
4268
+ Parameters: {"id"=>"code-block"}
4269
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (21.2ms)
4270
+ Rendered posts/show.html.erb within layouts/application (28.2ms)
4271
+ Completed 200 OK in 41ms (Views: 39.6ms)
4272
+ ------------------------------------------------------
4273
+ ConfigurationTest: test_renders_markdown_with_kramdown
4274
+ ------------------------------------------------------
4275
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-26 13:46:59 -0400
4276
+ Processing by PostsController#show as HTML
4277
+ Parameters: {"id"=>"header-title"}
4278
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.3ms)
4279
+ Rendered posts/show.html.erb within layouts/application (9.4ms)
4280
+ Completed 200 OK in 13ms (Views: 10.3ms)
4281
+ ------------------------------------------------------
4282
+ ConfigurationTest: test_renders_markdown_with_kramdown
4283
+ ------------------------------------------------------
4284
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-26 13:49:18 -0400
4285
+ Processing by PostsController#show as HTML
4286
+ Parameters: {"id"=>"header-title"}
4287
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (30.3ms)
4288
+ Rendered posts/show.html.erb within layouts/application (36.3ms)
4289
+ Completed 200 OK in 169ms (Views: 167.0ms)
4290
+ ---------------------------------------------------------------------
4291
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4292
+ ---------------------------------------------------------------------
4293
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-26 13:49:18 -0400
4294
+ -----------------------------------------------------
4295
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4296
+ -----------------------------------------------------
4297
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-26 13:49:18 -0400
4298
+ Processing by PostsController#show as HTML
4299
+ Parameters: {"id"=>"code-block"}
4300
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.5ms)
4301
+ Rendered posts/show.html.erb within layouts/application (7.3ms)
4302
+ Completed 200 OK in 10ms (Views: 8.2ms)
4303
+ ---------------------------------------------------------------
4304
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4305
+ ---------------------------------------------------------------
4306
+ ------------------------------------------------------------
4307
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4308
+ ------------------------------------------------------------
4309
+ -------------------------------------------------------------------------------------
4310
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4311
+ -------------------------------------------------------------------------------------
4312
+ -------------------------------------------------------------
4313
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4314
+ -------------------------------------------------------------
4315
+ ---------------------------------------
4316
+ Blogue::PostTest: test_finds_post_by_id
4317
+ ---------------------------------------
4318
+ -------------------------------------------------
4319
+ Blogue::PostTest: test_uses_meta_title_if_present
4320
+ -------------------------------------------------
4321
+ -----------------------------------------------------------------------
4322
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4323
+ -----------------------------------------------------------------------
4324
+ -----------------------------------------------------
4325
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4326
+ -----------------------------------------------------
4327
+ ----------------------------------------------------------------
4328
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4329
+ ----------------------------------------------------------------
4330
+ -----------------------------------------------------
4331
+ Blogue::PostTest: test_date_returns_date_part_of_time
4332
+ -----------------------------------------------------
4333
+ ---------------------------------------------------------------------
4334
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4335
+ ---------------------------------------------------------------------
4336
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-26 17:25:26 -0400
4337
+ -----------------------------------------------------
4338
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4339
+ -----------------------------------------------------
4340
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-26 17:25:26 -0400
4341
+ Processing by PostsController#show as HTML
4342
+ Parameters: {"id"=>"code-block"}
4343
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.3ms)
4344
+ Rendered posts/show.html.erb within layouts/application (8.2ms)
4345
+ Completed 500 Internal Server Error in 19ms
4346
+ ------------------------------------------------------
4347
+ ConfigurationTest: test_renders_markdown_with_kramdown
4348
+ ------------------------------------------------------
4349
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-26 17:25:26 -0400
4350
+ Processing by PostsController#show as HTML
4351
+ Parameters: {"id"=>"header-title"}
4352
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (0.7ms)
4353
+ Rendered posts/show.html.erb within layouts/application (5.3ms)
4354
+ Completed 500 Internal Server Error in 7ms
4355
+ -------------------------------------------------------------
4356
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4357
+ -------------------------------------------------------------
4358
+ ---------------------------------------
4359
+ Blogue::PostTest: test_finds_post_by_id
4360
+ ---------------------------------------
4361
+ -----------------------------------------------------------------------
4362
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4363
+ -----------------------------------------------------------------------
4364
+ ----------------------------------------------------------------
4365
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4366
+ ----------------------------------------------------------------
4367
+ ------------------------------------------------------------
4368
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4369
+ ------------------------------------------------------------
4370
+ -----------------------------------------------------
4371
+ Blogue::PostTest: test_date_returns_date_part_of_time
4372
+ -----------------------------------------------------
4373
+ ---------------------------------------------------------------
4374
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4375
+ ---------------------------------------------------------------
4376
+ -------------------------------------------------------------------------------------
4377
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4378
+ -------------------------------------------------------------------------------------
4379
+ -----------------------------------------------------
4380
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4381
+ -----------------------------------------------------
4382
+ -------------------------------------------------
4383
+ Blogue::PostTest: test_uses_meta_title_if_present
4384
+ -------------------------------------------------
4385
+ -----------------------------------------------------
4386
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4387
+ -----------------------------------------------------
4388
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 12:32:01 -0400
4389
+ Processing by PostsController#show as HTML
4390
+ Parameters: {"id"=>"code-block"}
4391
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.2ms)
4392
+ Rendered posts/show.html.erb within layouts/application (8.0ms)
4393
+ Completed 500 Internal Server Error in 18ms
4394
+ ---------------------------------------------------------------------
4395
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4396
+ ---------------------------------------------------------------------
4397
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:32:01 -0400
4398
+ ------------------------------------------------------
4399
+ ConfigurationTest: test_renders_markdown_with_kramdown
4400
+ ------------------------------------------------------
4401
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 12:32:01 -0400
4402
+ Processing by PostsController#show as HTML
4403
+ Parameters: {"id"=>"header-title"}
4404
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (0.6ms)
4405
+ Rendered posts/show.html.erb within layouts/application (4.8ms)
4406
+ Completed 500 Internal Server Error in 6ms
4407
+ -------------------------------------------------
4408
+ Blogue::PostTest: test_uses_meta_title_if_present
4409
+ -------------------------------------------------
4410
+ ------------------------------------------------------------
4411
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4412
+ ------------------------------------------------------------
4413
+ ----------------------------------------------------------------
4414
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4415
+ ----------------------------------------------------------------
4416
+ -------------------------------------------------------------
4417
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4418
+ -------------------------------------------------------------
4419
+ -----------------------------------------------------
4420
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4421
+ -----------------------------------------------------
4422
+ ---------------------------------------------------------------
4423
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4424
+ ---------------------------------------------------------------
4425
+ ---------------------------------------
4426
+ Blogue::PostTest: test_finds_post_by_id
4427
+ ---------------------------------------
4428
+ -----------------------------------------------------
4429
+ Blogue::PostTest: test_date_returns_date_part_of_time
4430
+ -----------------------------------------------------
4431
+ -----------------------------------------------------------------------
4432
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4433
+ -----------------------------------------------------------------------
4434
+ -------------------------------------------------------------------------------------
4435
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4436
+ -------------------------------------------------------------------------------------
4437
+ ---------------------------------------------------------------------
4438
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4439
+ ---------------------------------------------------------------------
4440
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:32:52 -0400
4441
+ -----------------------------------------------------
4442
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4443
+ -----------------------------------------------------
4444
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 12:32:52 -0400
4445
+ Processing by PostsController#show as HTML
4446
+ Parameters: {"id"=>"code-block"}
4447
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.0ms)
4448
+ Rendered posts/show.html.erb within layouts/application (7.4ms)
4449
+ Completed 500 Internal Server Error in 18ms
4450
+ ------------------------------------------------------
4451
+ ConfigurationTest: test_renders_markdown_with_kramdown
4452
+ ------------------------------------------------------
4453
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 12:32:52 -0400
4454
+ Processing by PostsController#show as HTML
4455
+ Parameters: {"id"=>"header-title"}
4456
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (0.6ms)
4457
+ Rendered posts/show.html.erb within layouts/application (5.5ms)
4458
+ Completed 500 Internal Server Error in 7ms
4459
+ -----------------------------------------------------
4460
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4461
+ -----------------------------------------------------
4462
+ ---------------------------------------
4463
+ Blogue::PostTest: test_finds_post_by_id
4464
+ ---------------------------------------
4465
+ -----------------------------------------------------------------------
4466
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4467
+ -----------------------------------------------------------------------
4468
+ -------------------------------------------------------------
4469
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4470
+ -------------------------------------------------------------
4471
+ ------------------------------------------------------------
4472
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4473
+ ------------------------------------------------------------
4474
+ -------------------------------------------------------------------------------------
4475
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4476
+ -------------------------------------------------------------------------------------
4477
+ -------------------------------------------------
4478
+ Blogue::PostTest: test_uses_meta_title_if_present
4479
+ -------------------------------------------------
4480
+ ----------------------------------------------------------------
4481
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4482
+ ----------------------------------------------------------------
4483
+ ---------------------------------------------------------------
4484
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4485
+ ---------------------------------------------------------------
4486
+ -----------------------------------------------------
4487
+ Blogue::PostTest: test_date_returns_date_part_of_time
4488
+ -----------------------------------------------------
4489
+ ---------------------------------------------------------------------
4490
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4491
+ ---------------------------------------------------------------------
4492
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:33:44 -0400
4493
+ -----------------------------------------------------
4494
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4495
+ -----------------------------------------------------
4496
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 12:33:44 -0400
4497
+ Processing by PostsController#show as HTML
4498
+ Parameters: {"id"=>"code-block"}
4499
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.1ms)
4500
+ Rendered posts/show.html.erb within layouts/application (7.8ms)
4501
+ Completed 500 Internal Server Error in 19ms
4502
+ ------------------------------------------------------
4503
+ ConfigurationTest: test_renders_markdown_with_kramdown
4504
+ ------------------------------------------------------
4505
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 12:33:44 -0400
4506
+ Processing by PostsController#show as HTML
4507
+ Parameters: {"id"=>"header-title"}
4508
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (0.5ms)
4509
+ Rendered posts/show.html.erb within layouts/application (4.8ms)
4510
+ Completed 500 Internal Server Error in 6ms
4511
+ -----------------------------------------------------
4512
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4513
+ -----------------------------------------------------
4514
+ -------------------------------------------------
4515
+ Blogue::PostTest: test_uses_meta_title_if_present
4516
+ -------------------------------------------------
4517
+ -------------------------------------------------------------------------------------
4518
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4519
+ -------------------------------------------------------------------------------------
4520
+ ------------------------------------------------------------
4521
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4522
+ ------------------------------------------------------------
4523
+ -----------------------------------------------------------------------
4524
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4525
+ -----------------------------------------------------------------------
4526
+ -------------------------------------------------------------
4527
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4528
+ -------------------------------------------------------------
4529
+ -----------------------------------------------------
4530
+ Blogue::PostTest: test_date_returns_date_part_of_time
4531
+ -----------------------------------------------------
4532
+ ---------------------------------------------------------------
4533
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4534
+ ---------------------------------------------------------------
4535
+ ---------------------------------------
4536
+ Blogue::PostTest: test_finds_post_by_id
4537
+ ---------------------------------------
4538
+ ----------------------------------------------------------------
4539
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4540
+ ----------------------------------------------------------------
4541
+ ---------------------------------------------------------------------
4542
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4543
+ ---------------------------------------------------------------------
4544
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:34:35 -0400
4545
+ ------------------------------------------------------
4546
+ ConfigurationTest: test_renders_markdown_with_kramdown
4547
+ ------------------------------------------------------
4548
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 12:34:35 -0400
4549
+ Processing by PostsController#show as HTML
4550
+ Parameters: {"id"=>"header-title"}
4551
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.1ms)
4552
+ Rendered posts/show.html.erb within layouts/application (7.9ms)
4553
+ Completed 500 Internal Server Error in 18ms
4554
+ -----------------------------------------------------
4555
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4556
+ -----------------------------------------------------
4557
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 12:34:35 -0400
4558
+ Processing by PostsController#show as HTML
4559
+ Parameters: {"id"=>"code-block"}
4560
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (0.6ms)
4561
+ Rendered posts/show.html.erb within layouts/application (5.1ms)
4562
+ Completed 500 Internal Server Error in 7ms
4563
+ -----------------------------------------------------
4564
+ Blogue::PostTest: test_date_returns_date_part_of_time
4565
+ -----------------------------------------------------
4566
+ ----------------------------------------------------------------
4567
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4568
+ ----------------------------------------------------------------
4569
+ -----------------------------------------------------------------------
4570
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4571
+ -----------------------------------------------------------------------
4572
+ ---------------------------------------
4573
+ Blogue::PostTest: test_finds_post_by_id
4574
+ ---------------------------------------
4575
+ ---------------------------------------------------------------
4576
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4577
+ ---------------------------------------------------------------
4578
+ -------------------------------------------------------------------------------------
4579
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4580
+ -------------------------------------------------------------------------------------
4581
+ ------------------------------------------------------------
4582
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4583
+ ------------------------------------------------------------
4584
+ -----------------------------------------------------
4585
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4586
+ -----------------------------------------------------
4587
+ -------------------------------------------------
4588
+ Blogue::PostTest: test_uses_meta_title_if_present
4589
+ -------------------------------------------------
4590
+ -------------------------------------------------------------
4591
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4592
+ -------------------------------------------------------------
4593
+ ------------------------------------------------------
4594
+ ConfigurationTest: test_renders_markdown_with_kramdown
4595
+ ------------------------------------------------------
4596
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 12:35:22 -0400
4597
+ Processing by PostsController#show as HTML
4598
+ Parameters: {"id"=>"header-title"}
4599
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (1.6ms)
4600
+ Rendered posts/show.html.erb within layouts/application (6.8ms)
4601
+ Completed 500 Internal Server Error in 14ms
4602
+ ---------------------------------------------------------------------
4603
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4604
+ ---------------------------------------------------------------------
4605
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:35:22 -0400
4606
+ -----------------------------------------------------
4607
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4608
+ -----------------------------------------------------
4609
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 12:35:22 -0400
4610
+ Processing by PostsController#show as HTML
4611
+ Parameters: {"id"=>"code-block"}
4612
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (0.7ms)
4613
+ Rendered posts/show.html.erb within layouts/application (5.4ms)
4614
+ Completed 500 Internal Server Error in 7ms
4615
+ ------------------------------------------------------
4616
+ ConfigurationTest: test_renders_markdown_with_kramdown
4617
+ ------------------------------------------------------
4618
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 12:38:29 -0400
4619
+ Processing by PostsController#show as HTML
4620
+ Parameters: {"id"=>"header-title"}
4621
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.0ms)
4622
+ Rendered posts/show.html.erb within layouts/application (7.7ms)
4623
+ Completed 500 Internal Server Error in 18ms
4624
+ -----------------------------------------------------
4625
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4626
+ -----------------------------------------------------
4627
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 12:38:29 -0400
4628
+ Processing by PostsController#show as HTML
4629
+ Parameters: {"id"=>"code-block"}
4630
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (0.5ms)
4631
+ Rendered posts/show.html.erb within layouts/application (4.6ms)
4632
+ Completed 500 Internal Server Error in 6ms
4633
+ ---------------------------------------------------------------------
4634
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4635
+ ---------------------------------------------------------------------
4636
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:38:29 -0400
4637
+ -----------------------------------------------------
4638
+ Blogue::PostTest: test_date_returns_date_part_of_time
4639
+ -----------------------------------------------------
4640
+ -----------------------------------------------------------------------
4641
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4642
+ -----------------------------------------------------------------------
4643
+ ----------------------------------------------------------------
4644
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4645
+ ----------------------------------------------------------------
4646
+ ---------------------------------------
4647
+ Blogue::PostTest: test_finds_post_by_id
4648
+ ---------------------------------------
4649
+ -------------------------------------------------
4650
+ Blogue::PostTest: test_uses_meta_title_if_present
4651
+ -------------------------------------------------
4652
+ -------------------------------------------------------------
4653
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4654
+ -------------------------------------------------------------
4655
+ -------------------------------------------------------------------------------------
4656
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4657
+ -------------------------------------------------------------------------------------
4658
+ ------------------------------------------------------------
4659
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4660
+ ------------------------------------------------------------
4661
+ ---------------------------------------------------------------
4662
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4663
+ ---------------------------------------------------------------
4664
+ -----------------------------------------------------
4665
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4666
+ -----------------------------------------------------
4667
+ ---------------------------------------------------------------------
4668
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4669
+ ---------------------------------------------------------------------
4670
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:39:15 -0400
4671
+ ---------------------------------------------------------------------
4672
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4673
+ ---------------------------------------------------------------------
4674
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:47:23 -0400
4675
+ ---------------------------------------------------------------------
4676
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4677
+ ---------------------------------------------------------------------
4678
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:48:38 -0400
4679
+ ---------------------------------------------------------------------
4680
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4681
+ ---------------------------------------------------------------------
4682
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:51:24 -0400
4683
+ ------------------------------------------------------
4684
+ ConfigurationTest: test_renders_markdown_with_kramdown
4685
+ ------------------------------------------------------
4686
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 12:51:46 -0400
4687
+ Processing by PostsController#show as HTML
4688
+ Parameters: {"id"=>"header-title"}
4689
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (1.9ms)
4690
+ Rendered posts/show.html.erb within layouts/application (7.6ms)
4691
+ Completed 500 Internal Server Error in 19ms
4692
+ -----------------------------------------------------
4693
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4694
+ -----------------------------------------------------
4695
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 12:51:46 -0400
4696
+ Processing by PostsController#show as HTML
4697
+ Parameters: {"id"=>"code-block"}
4698
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (0.5ms)
4699
+ Rendered posts/show.html.erb within layouts/application (4.6ms)
4700
+ Completed 500 Internal Server Error in 6ms
4701
+ ---------------------------------------------------------------------
4702
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4703
+ ---------------------------------------------------------------------
4704
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:51:46 -0400
4705
+ -----------------------------------------------------
4706
+ Blogue::PostTest: test_date_returns_date_part_of_time
4707
+ -----------------------------------------------------
4708
+ -----------------------------------------------------
4709
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4710
+ -----------------------------------------------------
4711
+ -------------------------------------------------
4712
+ Blogue::PostTest: test_uses_meta_title_if_present
4713
+ -------------------------------------------------
4714
+ -------------------------------------------------------------------------------------
4715
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4716
+ -------------------------------------------------------------------------------------
4717
+ -------------------------------------------------------------
4718
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4719
+ -------------------------------------------------------------
4720
+ ----------------------------------------------------------------
4721
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4722
+ ----------------------------------------------------------------
4723
+ ------------------------------------------------------------
4724
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4725
+ ------------------------------------------------------------
4726
+ ---------------------------------------
4727
+ Blogue::PostTest: test_finds_post_by_id
4728
+ ---------------------------------------
4729
+ ---------------------------------------------------------------
4730
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4731
+ ---------------------------------------------------------------
4732
+ -----------------------------------------------------------------------
4733
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4734
+ -----------------------------------------------------------------------
4735
+ ---------------------------------------------------------------------
4736
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4737
+ ---------------------------------------------------------------------
4738
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 12:58:54 -0400
4739
+ ------------------------------------------------------
4740
+ ConfigurationTest: test_renders_markdown_with_kramdown
4741
+ ------------------------------------------------------
4742
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 12:58:54 -0400
4743
+ Processing by PostsController#show as HTML
4744
+ Parameters: {"id"=>"header-title"}
4745
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.0ms)
4746
+ Rendered posts/show.html.erb within layouts/application (7.5ms)
4747
+ Completed 500 Internal Server Error in 18ms
4748
+ -----------------------------------------------------
4749
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4750
+ -----------------------------------------------------
4751
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 12:58:54 -0400
4752
+ Processing by PostsController#show as HTML
4753
+ Parameters: {"id"=>"code-block"}
4754
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (0.7ms)
4755
+ Rendered posts/show.html.erb within layouts/application (5.2ms)
4756
+ Completed 500 Internal Server Error in 7ms
4757
+ -----------------------------------------------------
4758
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4759
+ -----------------------------------------------------
4760
+ -------------------------------------------------
4761
+ Blogue::PostTest: test_uses_meta_title_if_present
4762
+ -------------------------------------------------
4763
+ ---------------------------------------------------------------
4764
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4765
+ ---------------------------------------------------------------
4766
+ ---------------------------------------
4767
+ Blogue::PostTest: test_finds_post_by_id
4768
+ ---------------------------------------
4769
+ -----------------------------------------------------------------------
4770
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4771
+ -----------------------------------------------------------------------
4772
+ -----------------------------------------------------
4773
+ Blogue::PostTest: test_date_returns_date_part_of_time
4774
+ -----------------------------------------------------
4775
+ ----------------------------------------------------------------
4776
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4777
+ ----------------------------------------------------------------
4778
+ ------------------------------------------------------------
4779
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4780
+ ------------------------------------------------------------
4781
+ -------------------------------------------------------------
4782
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4783
+ -------------------------------------------------------------
4784
+ -------------------------------------------------------------------------------------
4785
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4786
+ -------------------------------------------------------------------------------------
4787
+ ------------------------------------------------------
4788
+ ConfigurationTest: test_renders_markdown_with_kramdown
4789
+ ------------------------------------------------------
4790
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 14:07:18 -0400
4791
+ Processing by PostsController#show as HTML
4792
+ Parameters: {"id"=>"header-title"}
4793
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.0ms)
4794
+ Rendered posts/show.html.erb within layouts/application (8.2ms)
4795
+ Completed 500 Internal Server Error in 18ms
4796
+ ------------------------------------------------------
4797
+ ConfigurationTest: test_renders_markdown_with_kramdown
4798
+ ------------------------------------------------------
4799
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 14:07:46 -0400
4800
+ Processing by PostsController#show as HTML
4801
+ Parameters: {"id"=>"header-title"}
4802
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.5ms)
4803
+ Rendered posts/show.html.erb within layouts/application (8.4ms)
4804
+ Completed 500 Internal Server Error in 19ms
4805
+ ------------------------------------------------------
4806
+ ConfigurationTest: test_renders_markdown_with_kramdown
4807
+ ------------------------------------------------------
4808
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 14:26:31 -0400
4809
+ Processing by PostsController#show as HTML
4810
+ Parameters: {"id"=>"header-title"}
4811
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (0.4ms)
4812
+ Rendered posts/show.html.erb within layouts/application (6.3ms)
4813
+ Completed 500 Internal Server Error in 17ms
4814
+ ------------------------------------------------------
4815
+ ConfigurationTest: test_renders_markdown_with_kramdown
4816
+ ------------------------------------------------------
4817
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 14:26:48 -0400
4818
+ Processing by PostsController#show as HTML
4819
+ Parameters: {"id"=>"header-title"}
4820
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (0.4ms)
4821
+ Rendered posts/show.html.erb within layouts/application (5.8ms)
4822
+ Completed 500 Internal Server Error in 13ms
4823
+ ------------------------------------------------------
4824
+ ConfigurationTest: test_renders_markdown_with_kramdown
4825
+ ------------------------------------------------------
4826
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 14:27:06 -0400
4827
+ Processing by PostsController#show as HTML
4828
+ Parameters: {"id"=>"header-title"}
4829
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (87.7ms)
4830
+ Rendered posts/show.html.erb within layouts/application (94.0ms)
4831
+ Completed 200 OK in 267ms (Views: 266.0ms)
4832
+ -----------------------------------------------------------------------
4833
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4834
+ -----------------------------------------------------------------------
4835
+ -----------------------------------------------------
4836
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4837
+ -----------------------------------------------------
4838
+ ----------------------------------------------------------------
4839
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4840
+ ----------------------------------------------------------------
4841
+ ---------------------------------------
4842
+ Blogue::PostTest: test_finds_post_by_id
4843
+ ---------------------------------------
4844
+ -------------------------------------------------
4845
+ Blogue::PostTest: test_uses_meta_title_if_present
4846
+ -------------------------------------------------
4847
+ -----------------------------------------------------
4848
+ Blogue::PostTest: test_date_returns_date_part_of_time
4849
+ -----------------------------------------------------
4850
+ -------------------------------------------------------------
4851
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4852
+ -------------------------------------------------------------
4853
+ ---------------------------------------------------------------
4854
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4855
+ ---------------------------------------------------------------
4856
+ ------------------------------------------------------------
4857
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4858
+ ------------------------------------------------------------
4859
+ -------------------------------------------------------------------------------------
4860
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4861
+ -------------------------------------------------------------------------------------
4862
+ ---------------------------------------------------------------------
4863
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4864
+ ---------------------------------------------------------------------
4865
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 14:27:38 -0400
4866
+ -----------------------------------------------------
4867
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4868
+ -----------------------------------------------------
4869
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 14:27:38 -0400
4870
+ Processing by PostsController#show as HTML
4871
+ Parameters: {"id"=>"code-block"}
4872
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (42.5ms)
4873
+ Rendered posts/show.html.erb within layouts/application (48.7ms)
4874
+ Completed 200 OK in 63ms (Views: 61.5ms)
4875
+ ------------------------------------------------------
4876
+ ConfigurationTest: test_renders_markdown_with_kramdown
4877
+ ------------------------------------------------------
4878
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 14:27:38 -0400
4879
+ Processing by PostsController#show as HTML
4880
+ Parameters: {"id"=>"header-title"}
4881
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.3ms)
4882
+ Rendered posts/show.html.erb within layouts/application (7.2ms)
4883
+ Completed 200 OK in 10ms (Views: 7.9ms)
4884
+ -----------------------------------------------------
4885
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4886
+ -----------------------------------------------------
4887
+ -------------------------------------------------------------
4888
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4889
+ -------------------------------------------------------------
4890
+ -------------------------------------------------
4891
+ Blogue::PostTest: test_uses_meta_title_if_present
4892
+ -------------------------------------------------
4893
+ ------------------------------------------------------------
4894
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4895
+ ------------------------------------------------------------
4896
+ -----------------------------------------------------------------------
4897
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4898
+ -----------------------------------------------------------------------
4899
+ ----------------------------------------------------------------
4900
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4901
+ ----------------------------------------------------------------
4902
+ -------------------------------------------------------------------------------------
4903
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4904
+ -------------------------------------------------------------------------------------
4905
+ ---------------------------------------------------------------
4906
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4907
+ ---------------------------------------------------------------
4908
+ -----------------------------------------------------
4909
+ Blogue::PostTest: test_date_returns_date_part_of_time
4910
+ -----------------------------------------------------
4911
+ ---------------------------------------
4912
+ Blogue::PostTest: test_finds_post_by_id
4913
+ ---------------------------------------
4914
+ ---------------------------------------------------------------------
4915
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4916
+ ---------------------------------------------------------------------
4917
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 14:31:01 -0400
4918
+ ------------------------------------------------------
4919
+ ConfigurationTest: test_renders_markdown_with_kramdown
4920
+ ------------------------------------------------------
4921
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 14:31:02 -0400
4922
+ Processing by PostsController#show as HTML
4923
+ Parameters: {"id"=>"header-title"}
4924
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (37.5ms)
4925
+ Rendered posts/show.html.erb within layouts/application (43.2ms)
4926
+ Completed 200 OK in 56ms (Views: 54.2ms)
4927
+ -----------------------------------------------------
4928
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4929
+ -----------------------------------------------------
4930
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 14:31:02 -0400
4931
+ Processing by PostsController#show as HTML
4932
+ Parameters: {"id"=>"code-block"}
4933
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.8ms)
4934
+ Rendered posts/show.html.erb within layouts/application (7.6ms)
4935
+ Completed 200 OK in 9ms (Views: 8.3ms)
4936
+ ---------------------------------------------------------------
4937
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4938
+ ---------------------------------------------------------------
4939
+ -------------------------------------------------
4940
+ Blogue::PostTest: test_uses_meta_title_if_present
4941
+ -------------------------------------------------
4942
+ ----------------------------------------------------------------
4943
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
4944
+ ----------------------------------------------------------------
4945
+ ---------------------------------------
4946
+ Blogue::PostTest: test_finds_post_by_id
4947
+ ---------------------------------------
4948
+ -----------------------------------------------------------------------
4949
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
4950
+ -----------------------------------------------------------------------
4951
+ -----------------------------------------------------
4952
+ Blogue::PostTest: test_uses_time_from_meta_when_given
4953
+ -----------------------------------------------------
4954
+ -------------------------------------------------------------
4955
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4956
+ -------------------------------------------------------------
4957
+ -----------------------------------------------------
4958
+ Blogue::PostTest: test_date_returns_date_part_of_time
4959
+ -----------------------------------------------------
4960
+ -------------------------------------------------------------------------------------
4961
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4962
+ -------------------------------------------------------------------------------------
4963
+ ------------------------------------------------------------
4964
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
4965
+ ------------------------------------------------------------
4966
+ ------------------------------------------------------
4967
+ ConfigurationTest: test_renders_markdown_with_kramdown
4968
+ ------------------------------------------------------
4969
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 14:32:10 -0400
4970
+ Processing by PostsController#show as HTML
4971
+ Parameters: {"id"=>"header-title"}
4972
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (49.5ms)
4973
+ Rendered posts/show.html.erb within layouts/application (55.3ms)
4974
+ Completed 200 OK in 171ms (Views: 169.3ms)
4975
+ -----------------------------------------------------
4976
+ ConfigurationTest: test_renders_codeblocks_with_rouge
4977
+ -----------------------------------------------------
4978
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 14:32:10 -0400
4979
+ Processing by PostsController#show as HTML
4980
+ Parameters: {"id"=>"code-block"}
4981
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.8ms)
4982
+ Rendered posts/show.html.erb within layouts/application (7.1ms)
4983
+ Completed 200 OK in 9ms (Views: 7.9ms)
4984
+ ---------------------------------------------------------------------
4985
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
4986
+ ---------------------------------------------------------------------
4987
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 14:32:10 -0400
4988
+ ---------------------------------------------------------------
4989
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
4990
+ ---------------------------------------------------------------
4991
+ -------------------------------------------------
4992
+ Blogue::PostTest: test_uses_meta_title_if_present
4993
+ -------------------------------------------------
4994
+ -------------------------------------------------------------------------------------
4995
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
4996
+ -------------------------------------------------------------------------------------
4997
+ -------------------------------------------------------------
4998
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
4999
+ -------------------------------------------------------------
5000
+ -----------------------------------------------------
5001
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5002
+ -----------------------------------------------------
5003
+ ------------------------------------------------------------
5004
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5005
+ ------------------------------------------------------------
5006
+ -----------------------------------------------------
5007
+ Blogue::PostTest: test_date_returns_date_part_of_time
5008
+ -----------------------------------------------------
5009
+ -----------------------------------------------------------------------
5010
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5011
+ -----------------------------------------------------------------------
5012
+ ---------------------------------------
5013
+ Blogue::PostTest: test_finds_post_by_id
5014
+ ---------------------------------------
5015
+ ----------------------------------------------------------------
5016
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5017
+ ----------------------------------------------------------------
5018
+ -----------------------------------------------------
5019
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5020
+ -----------------------------------------------------
5021
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 15:54:23 -0400
5022
+ Processing by PostsController#show as HTML
5023
+ Parameters: {"id"=>"code-block"}
5024
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (63.2ms)
5025
+ Rendered posts/show.html.erb within layouts/application (69.1ms)
5026
+ Completed 200 OK in 197ms (Views: 195.2ms)
5027
+ ------------------------------------------------------
5028
+ ConfigurationTest: test_renders_markdown_with_kramdown
5029
+ ------------------------------------------------------
5030
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 15:54:23 -0400
5031
+ Processing by PostsController#show as HTML
5032
+ Parameters: {"id"=>"header-title"}
5033
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.3ms)
5034
+ Rendered posts/show.html.erb within layouts/application (6.6ms)
5035
+ Completed 200 OK in 9ms (Views: 7.3ms)
5036
+ ---------------------------------------------------------------------
5037
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5038
+ ---------------------------------------------------------------------
5039
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 15:54:23 -0400
5040
+ -----------------------------------------------------
5041
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5042
+ -----------------------------------------------------
5043
+ -----------------------------------------------------------------------
5044
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5045
+ -----------------------------------------------------------------------
5046
+ -----------------------------------------------------
5047
+ Blogue::PostTest: test_date_returns_date_part_of_time
5048
+ -----------------------------------------------------
5049
+ -------------------------------------------------------------
5050
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5051
+ -------------------------------------------------------------
5052
+ -------------------------------------------------------------------------------------
5053
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5054
+ -------------------------------------------------------------------------------------
5055
+ ---------------------------------------------------------------
5056
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5057
+ ---------------------------------------------------------------
5058
+ -------------------------------------------------
5059
+ Blogue::PostTest: test_uses_meta_title_if_present
5060
+ -------------------------------------------------
5061
+ ---------------------------------------
5062
+ Blogue::PostTest: test_finds_post_by_id
5063
+ ---------------------------------------
5064
+ ----------------------------------------------------------------
5065
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5066
+ ----------------------------------------------------------------
5067
+ ------------------------------------------------------------
5068
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5069
+ ------------------------------------------------------------
5070
+ ---------------------------------------------------------------------
5071
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5072
+ ---------------------------------------------------------------------
5073
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 15:58:29 -0400
5074
+ -----------------------------------------------------
5075
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5076
+ -----------------------------------------------------
5077
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 15:58:30 -0400
5078
+ Processing by PostsController#show as HTML
5079
+ Parameters: {"id"=>"code-block"}
5080
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (55.4ms)
5081
+ Rendered posts/show.html.erb within layouts/application (61.2ms)
5082
+ Completed 200 OK in 72ms (Views: 70.4ms)
5083
+ ------------------------------------------------------
5084
+ ConfigurationTest: test_renders_markdown_with_kramdown
5085
+ ------------------------------------------------------
5086
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 15:58:30 -0400
5087
+ Processing by PostsController#show as HTML
5088
+ Parameters: {"id"=>"header-title"}
5089
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.1ms)
5090
+ Rendered posts/show.html.erb within layouts/application (6.5ms)
5091
+ Completed 200 OK in 8ms (Views: 7.2ms)
5092
+ ------------------------------------------------------
5093
+ ConfigurationTest: test_renders_markdown_with_kramdown
5094
+ ------------------------------------------------------
5095
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 15:58:46 -0400
5096
+ Processing by PostsController#show as HTML
5097
+ Parameters: {"id"=>"header-title"}
5098
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (41.4ms)
5099
+ Rendered posts/show.html.erb within layouts/application (47.1ms)
5100
+ Completed 200 OK in 183ms (Views: 181.8ms)
5101
+ -----------------------------------------------------
5102
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5103
+ -----------------------------------------------------
5104
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 15:58:47 -0400
5105
+ Processing by PostsController#show as HTML
5106
+ Parameters: {"id"=>"code-block"}
5107
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.9ms)
5108
+ Rendered posts/show.html.erb within layouts/application (7.2ms)
5109
+ Completed 200 OK in 9ms (Views: 7.9ms)
5110
+ ---------------------------------------------------------------------
5111
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5112
+ ---------------------------------------------------------------------
5113
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 15:58:47 -0400
5114
+ -------------------------------------------------------------------------------------
5115
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5116
+ -------------------------------------------------------------------------------------
5117
+ -------------------------------------------------
5118
+ Blogue::PostTest: test_uses_meta_title_if_present
5119
+ -------------------------------------------------
5120
+ -----------------------------------------------------
5121
+ Blogue::PostTest: test_date_returns_date_part_of_time
5122
+ -----------------------------------------------------
5123
+ ---------------------------------------------------------------
5124
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5125
+ ---------------------------------------------------------------
5126
+ -------------------------------------------------------------
5127
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5128
+ -------------------------------------------------------------
5129
+ ----------------------------------------------------------------
5130
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5131
+ ----------------------------------------------------------------
5132
+ -----------------------------------------------------
5133
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5134
+ -----------------------------------------------------
5135
+ ---------------------------------------
5136
+ Blogue::PostTest: test_finds_post_by_id
5137
+ ---------------------------------------
5138
+ ------------------------------------------------------------
5139
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5140
+ ------------------------------------------------------------
5141
+ -----------------------------------------------------------------------
5142
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5143
+ -----------------------------------------------------------------------
5144
+ ---------------------------------------------------------------------
5145
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5146
+ ---------------------------------------------------------------------
5147
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 15:59:03 -0400
5148
+ -----------------------------------------------------
5149
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5150
+ -----------------------------------------------------
5151
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 15:59:03 -0400
5152
+ Processing by PostsController#show as HTML
5153
+ Parameters: {"id"=>"code-block"}
5154
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (40.2ms)
5155
+ Rendered posts/show.html.erb within layouts/application (45.6ms)
5156
+ Completed 200 OK in 54ms (Views: 52.5ms)
5157
+ ------------------------------------------------------
5158
+ ConfigurationTest: test_renders_markdown_with_kramdown
5159
+ ------------------------------------------------------
5160
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 15:59:03 -0400
5161
+ Processing by PostsController#show as HTML
5162
+ Parameters: {"id"=>"header-title"}
5163
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.3ms)
5164
+ Rendered posts/show.html.erb within layouts/application (6.6ms)
5165
+ Completed 200 OK in 9ms (Views: 7.3ms)
5166
+ -----------------------------------------------------
5167
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5168
+ -----------------------------------------------------
5169
+ -------------------------------------------------
5170
+ Blogue::PostTest: test_uses_meta_title_if_present
5171
+ -------------------------------------------------
5172
+ ----------------------------------------------------------------
5173
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5174
+ ----------------------------------------------------------------
5175
+ ---------------------------------------------------------------
5176
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5177
+ ---------------------------------------------------------------
5178
+ -------------------------------------------------------------
5179
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5180
+ -------------------------------------------------------------
5181
+ ---------------------------------------
5182
+ Blogue::PostTest: test_finds_post_by_id
5183
+ ---------------------------------------
5184
+ -----------------------------------------------------
5185
+ Blogue::PostTest: test_date_returns_date_part_of_time
5186
+ -----------------------------------------------------
5187
+ -------------------------------------------------------------------------------------
5188
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5189
+ -------------------------------------------------------------------------------------
5190
+ ------------------------------------------------------------
5191
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5192
+ ------------------------------------------------------------
5193
+ -----------------------------------------------------------------------
5194
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5195
+ -----------------------------------------------------------------------
5196
+ -------------------------------------------------------------
5197
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5198
+ -------------------------------------------------------------
5199
+ ------------------------------------------------------------
5200
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5201
+ ------------------------------------------------------------
5202
+ -----------------------------------------------------
5203
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5204
+ -----------------------------------------------------
5205
+ ----------------------------------------------------------------
5206
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5207
+ ----------------------------------------------------------------
5208
+ -----------------------------------------------------
5209
+ Blogue::PostTest: test_date_returns_date_part_of_time
5210
+ -----------------------------------------------------
5211
+ -------------------------------------------------------------------------------------
5212
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5213
+ -------------------------------------------------------------------------------------
5214
+ -----------------------------------------------------------------------
5215
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5216
+ -----------------------------------------------------------------------
5217
+ ---------------------------------------------------------------
5218
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5219
+ ---------------------------------------------------------------
5220
+ -------------------------------------------------
5221
+ Blogue::PostTest: test_uses_meta_title_if_present
5222
+ -------------------------------------------------
5223
+ ---------------------------------------
5224
+ Blogue::PostTest: test_finds_post_by_id
5225
+ ---------------------------------------
5226
+ ------------------------------------------------------
5227
+ ConfigurationTest: test_renders_markdown_with_kramdown
5228
+ ------------------------------------------------------
5229
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 16:09:53 -0400
5230
+ Processing by PostsController#show as HTML
5231
+ Parameters: {"id"=>"header-title"}
5232
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (59.9ms)
5233
+ Rendered posts/show.html.erb within layouts/application (66.0ms)
5234
+ Completed 200 OK in 211ms (Views: 209.1ms)
5235
+ -----------------------------------------------------
5236
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5237
+ -----------------------------------------------------
5238
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 16:09:53 -0400
5239
+ Processing by PostsController#show as HTML
5240
+ Parameters: {"id"=>"code-block"}
5241
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (7.2ms)
5242
+ Rendered posts/show.html.erb within layouts/application (11.9ms)
5243
+ Completed 200 OK in 15ms (Views: 13.4ms)
5244
+ ---------------------------------------------------------------------
5245
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5246
+ ---------------------------------------------------------------------
5247
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 16:09:54 -0400
5248
+ -------------------------------------------------------------------------------------
5249
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5250
+ -------------------------------------------------------------------------------------
5251
+ ---------------------------------------------------------------
5252
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5253
+ ---------------------------------------------------------------
5254
+ -------------------------------------------------------------
5255
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5256
+ -------------------------------------------------------------
5257
+ ------------------------------------------------------------
5258
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5259
+ ------------------------------------------------------------
5260
+ ----------------------------------------------------------------
5261
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5262
+ ----------------------------------------------------------------
5263
+ ---------------------------------------
5264
+ Blogue::PostTest: test_finds_post_by_id
5265
+ ---------------------------------------
5266
+ -----------------------------------------------------------------------
5267
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5268
+ -----------------------------------------------------------------------
5269
+ -----------------------------------------------------
5270
+ Blogue::PostTest: test_date_returns_date_part_of_time
5271
+ -----------------------------------------------------
5272
+ -------------------------------------------------
5273
+ Blogue::PostTest: test_uses_meta_title_if_present
5274
+ -------------------------------------------------
5275
+ -----------------------------------------------------
5276
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5277
+ -----------------------------------------------------
5278
+ ------------------------------------------------------
5279
+ ConfigurationTest: test_renders_markdown_with_kramdown
5280
+ ------------------------------------------------------
5281
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 16:10:15 -0400
5282
+ Processing by PostsController#show as HTML
5283
+ Parameters: {"id"=>"header-title"}
5284
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (0.6ms)
5285
+ Rendered posts/show.html.erb within layouts/application (6.4ms)
5286
+ Completed 500 Internal Server Error in 17ms
5287
+ -----------------------------------------------------
5288
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5289
+ -----------------------------------------------------
5290
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 16:10:15 -0400
5291
+ Processing by PostsController#show as HTML
5292
+ Parameters: {"id"=>"code-block"}
5293
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (0.4ms)
5294
+ Rendered posts/show.html.erb within layouts/application (4.6ms)
5295
+ Completed 500 Internal Server Error in 6ms
5296
+ ---------------------------------------------------------------------
5297
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5298
+ ---------------------------------------------------------------------
5299
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 16:10:15 -0400
5300
+ -----------------------------------------------------
5301
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5302
+ -----------------------------------------------------
5303
+ -----------------------------------------------------------------------
5304
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5305
+ -----------------------------------------------------------------------
5306
+ ---------------------------------------------------------------
5307
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5308
+ ---------------------------------------------------------------
5309
+ -----------------------------------------------------
5310
+ Blogue::PostTest: test_date_returns_date_part_of_time
5311
+ -----------------------------------------------------
5312
+ ---------------------------------------
5313
+ Blogue::PostTest: test_finds_post_by_id
5314
+ ---------------------------------------
5315
+ ------------------------------------------------------------
5316
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5317
+ ------------------------------------------------------------
5318
+ -------------------------------------------------
5319
+ Blogue::PostTest: test_uses_meta_title_if_present
5320
+ -------------------------------------------------
5321
+ -------------------------------------------------------------------------------------
5322
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5323
+ -------------------------------------------------------------------------------------
5324
+ ----------------------------------------------------------------
5325
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5326
+ ----------------------------------------------------------------
5327
+ -------------------------------------------------------------
5328
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5329
+ -------------------------------------------------------------
5330
+ ------------------------------------------------------
5331
+ ConfigurationTest: test_renders_markdown_with_kramdown
5332
+ ------------------------------------------------------
5333
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 16:23:58 -0400
5334
+ Processing by PostsController#show as HTML
5335
+ Parameters: {"id"=>"header-title"}
5336
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (61.3ms)
5337
+ Rendered posts/show.html.erb within layouts/application (67.2ms)
5338
+ Completed 200 OK in 215ms (Views: 213.3ms)
5339
+ -----------------------------------------------------
5340
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5341
+ -----------------------------------------------------
5342
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 16:23:58 -0400
5343
+ Processing by PostsController#show as HTML
5344
+ Parameters: {"id"=>"code-block"}
5345
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (6.9ms)
5346
+ Rendered posts/show.html.erb within layouts/application (11.6ms)
5347
+ Completed 200 OK in 14ms (Views: 13.0ms)
5348
+ ---------------------------------------------------------------------
5349
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5350
+ ---------------------------------------------------------------------
5351
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 16:23:58 -0400
5352
+ -------------------------------------------------------------
5353
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5354
+ -------------------------------------------------------------
5355
+ -------------------------------------------------
5356
+ Blogue::PostTest: test_uses_meta_title_if_present
5357
+ -------------------------------------------------
5358
+ -------------------------------------------------------------------------------------
5359
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5360
+ -------------------------------------------------------------------------------------
5361
+ ------------------------------------------------------------
5362
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5363
+ ------------------------------------------------------------
5364
+ -----------------------------------------------------
5365
+ Blogue::PostTest: test_date_returns_date_part_of_time
5366
+ -----------------------------------------------------
5367
+ -----------------------------------------------------------------------
5368
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5369
+ -----------------------------------------------------------------------
5370
+ ---------------------------------------
5371
+ Blogue::PostTest: test_finds_post_by_id
5372
+ ---------------------------------------
5373
+ ----------------------------------------------------------------
5374
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5375
+ ----------------------------------------------------------------
5376
+ ---------------------------------------------------------------
5377
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5378
+ ---------------------------------------------------------------
5379
+ -----------------------------------------------------
5380
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5381
+ -----------------------------------------------------
5382
+ ------------------------------------------------------
5383
+ ConfigurationTest: test_renders_markdown_with_kramdown
5384
+ ------------------------------------------------------
5385
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 16:24:36 -0400
5386
+ Processing by PostsController#show as HTML
5387
+ Parameters: {"id"=>"header-title"}
5388
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (44.9ms)
5389
+ Rendered posts/show.html.erb within layouts/application (50.3ms)
5390
+ Completed 200 OK in 175ms (Views: 173.2ms)
5391
+ -----------------------------------------------------
5392
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5393
+ -----------------------------------------------------
5394
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 16:24:36 -0400
5395
+ Processing by PostsController#show as HTML
5396
+ Parameters: {"id"=>"code-block"}
5397
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.8ms)
5398
+ Rendered posts/show.html.erb within layouts/application (7.2ms)
5399
+ Completed 200 OK in 9ms (Views: 7.9ms)
5400
+ ---------------------------------------------------------------------
5401
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5402
+ ---------------------------------------------------------------------
5403
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 16:24:36 -0400
5404
+ -----------------------------------------------------------------------
5405
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5406
+ -----------------------------------------------------------------------
5407
+ ---------------------------------------
5408
+ Blogue::PostTest: test_finds_post_by_id
5409
+ ---------------------------------------
5410
+ -------------------------------------------------
5411
+ Blogue::PostTest: test_uses_meta_title_if_present
5412
+ -------------------------------------------------
5413
+ ---------------------------------------------------------------
5414
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5415
+ ---------------------------------------------------------------
5416
+ ----------------------------------------------------------------
5417
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5418
+ ----------------------------------------------------------------
5419
+ -----------------------------------------------------
5420
+ Blogue::PostTest: test_date_returns_date_part_of_time
5421
+ -----------------------------------------------------
5422
+ -------------------------------------------------------------------------------------
5423
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5424
+ -------------------------------------------------------------------------------------
5425
+ ------------------------------------------------------------
5426
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5427
+ ------------------------------------------------------------
5428
+ -------------------------------------------------------------
5429
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5430
+ -------------------------------------------------------------
5431
+ -----------------------------------------------------
5432
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5433
+ -----------------------------------------------------
5434
+ ------------------------------------------------------
5435
+ ConfigurationTest: test_renders_markdown_with_kramdown
5436
+ ------------------------------------------------------
5437
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 16:30:45 -0400
5438
+ Processing by PostsController#show as HTML
5439
+ Parameters: {"id"=>"header-title"}
5440
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (43.8ms)
5441
+ Rendered posts/show.html.erb within layouts/application (49.2ms)
5442
+ Completed 200 OK in 181ms (Views: 180.0ms)
5443
+ -----------------------------------------------------
5444
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5445
+ -----------------------------------------------------
5446
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 16:30:45 -0400
5447
+ Processing by PostsController#show as HTML
5448
+ Parameters: {"id"=>"code-block"}
5449
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.9ms)
5450
+ Rendered posts/show.html.erb within layouts/application (7.3ms)
5451
+ Completed 200 OK in 9ms (Views: 8.1ms)
5452
+ ---------------------------------------------------------------------
5453
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5454
+ ---------------------------------------------------------------------
5455
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 16:30:45 -0400
5456
+ ---------------------------------------------------------------------
5457
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5458
+ ---------------------------------------------------------------------
5459
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 16:36:02 -0400
5460
+ -----------------------------------------------------
5461
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5462
+ -----------------------------------------------------
5463
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 16:36:02 -0400
5464
+ Processing by PostsController#show as HTML
5465
+ Parameters: {"id"=>"code-block"}
5466
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (43.5ms)
5467
+ Rendered posts/show.html.erb within layouts/application (48.8ms)
5468
+ Completed 200 OK in 58ms (Views: 55.7ms)
5469
+ ------------------------------------------------------
5470
+ ConfigurationTest: test_renders_markdown_with_kramdown
5471
+ ------------------------------------------------------
5472
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 16:36:02 -0400
5473
+ Processing by PostsController#show as HTML
5474
+ Parameters: {"id"=>"header-title"}
5475
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.2ms)
5476
+ Rendered posts/show.html.erb within layouts/application (6.4ms)
5477
+ Completed 200 OK in 8ms (Views: 7.1ms)
5478
+ -----------------------------------------------------
5479
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5480
+ -----------------------------------------------------
5481
+ -------------------------------------------------
5482
+ Blogue::PostTest: test_uses_meta_title_if_present
5483
+ -------------------------------------------------
5484
+ ---------------------------------------
5485
+ Blogue::PostTest: test_finds_post_by_id
5486
+ ---------------------------------------
5487
+ ----------------------------------------------------------------
5488
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5489
+ ----------------------------------------------------------------
5490
+ -------------------------------------------------------------
5491
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5492
+ -------------------------------------------------------------
5493
+ -----------------------------------------------------
5494
+ Blogue::PostTest: test_date_returns_date_part_of_time
5495
+ -----------------------------------------------------
5496
+ ------------------------------------------------------------
5497
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5498
+ ------------------------------------------------------------
5499
+ -----------------------------------------------------------------------
5500
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5501
+ -----------------------------------------------------------------------
5502
+ -------------------------------------------------------------------------------------
5503
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5504
+ -------------------------------------------------------------------------------------
5505
+ ---------------------------------------------------------------
5506
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5507
+ ---------------------------------------------------------------
5508
+ ------------------------------------------------------
5509
+ ConfigurationTest: test_renders_markdown_with_kramdown
5510
+ ------------------------------------------------------
5511
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 16:37:33 -0400
5512
+ Processing by PostsController#show as HTML
5513
+ Parameters: {"id"=>"header-title"}
5514
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (41.7ms)
5515
+ Rendered posts/show.html.erb within layouts/application (47.2ms)
5516
+ Completed 200 OK in 171ms (Views: 170.2ms)
5517
+ -----------------------------------------------------
5518
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5519
+ -----------------------------------------------------
5520
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 16:37:34 -0400
5521
+ Processing by PostsController#show as HTML
5522
+ Parameters: {"id"=>"code-block"}
5523
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (2.7ms)
5524
+ Rendered posts/show.html.erb within layouts/application (7.0ms)
5525
+ Completed 200 OK in 9ms (Views: 7.7ms)
5526
+ ---------------------------------------------------------------------
5527
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5528
+ ---------------------------------------------------------------------
5529
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 16:37:34 -0400
5530
+ -------------------------------------------------------------
5531
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5532
+ -------------------------------------------------------------
5533
+ ------------------------------------------------------------
5534
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5535
+ ------------------------------------------------------------
5536
+ -----------------------------------------------------
5537
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5538
+ -----------------------------------------------------
5539
+ -----------------------------------------------------
5540
+ Blogue::PostTest: test_date_returns_date_part_of_time
5541
+ -----------------------------------------------------
5542
+ ---------------------------------------------------------------
5543
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5544
+ ---------------------------------------------------------------
5545
+ -------------------------------------------------
5546
+ Blogue::PostTest: test_uses_meta_title_if_present
5547
+ -------------------------------------------------
5548
+ -------------------------------------------------------------------------------------
5549
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5550
+ -------------------------------------------------------------------------------------
5551
+ ---------------------------------------
5552
+ Blogue::PostTest: test_finds_post_by_id
5553
+ ---------------------------------------
5554
+ ----------------------------------------------------------------
5555
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5556
+ ----------------------------------------------------------------
5557
+ -----------------------------------------------------------------------
5558
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5559
+ -----------------------------------------------------------------------
5560
+ -----------------------------------------------------
5561
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5562
+ -----------------------------------------------------
5563
+ ---------------------------------------------------------------
5564
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5565
+ ---------------------------------------------------------------
5566
+ ------------------------------------------------------------
5567
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5568
+ ------------------------------------------------------------
5569
+ ---------------------------------------
5570
+ Blogue::PostTest: test_finds_post_by_id
5571
+ ---------------------------------------
5572
+ -------------------------------------------------
5573
+ Blogue::PostTest: test_uses_meta_title_if_present
5574
+ -------------------------------------------------
5575
+ -------------------------------------------------------------------------------------
5576
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5577
+ -------------------------------------------------------------------------------------
5578
+ -----------------------------------------------------------------------
5579
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5580
+ -----------------------------------------------------------------------
5581
+ ----------------------------------------------------------------
5582
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5583
+ ----------------------------------------------------------------
5584
+ -------------------------------------------------------------
5585
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5586
+ -------------------------------------------------------------
5587
+ -----------------------------------------------------
5588
+ Blogue::PostTest: test_date_returns_date_part_of_time
5589
+ -----------------------------------------------------
5590
+ ---------------------------------------------------------------------
5591
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5592
+ ---------------------------------------------------------------------
5593
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 16:53:35 -0400
5594
+ -----------------------------------------------------
5595
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5596
+ -----------------------------------------------------
5597
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 16:53:35 -0400
5598
+ Processing by PostsController#show as HTML
5599
+ Parameters: {"id"=>"code-block"}
5600
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (47.5ms)
5601
+ Rendered posts/show.html.erb within layouts/application (53.0ms)
5602
+ Completed 200 OK in 62ms (Views: 60.1ms)
5603
+ ------------------------------------------------------
5604
+ ConfigurationTest: test_renders_markdown_with_kramdown
5605
+ ------------------------------------------------------
5606
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 16:53:35 -0400
5607
+ Processing by PostsController#show as HTML
5608
+ Parameters: {"id"=>"header-title"}
5609
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.1ms)
5610
+ Rendered posts/show.html.erb within layouts/application (6.6ms)
5611
+ Completed 200 OK in 8ms (Views: 7.2ms)
5612
+ ---------------------------------------------------------------------
5613
+ ConfigurationTest: test_adds_[posts_path]/assets_to_rails_asset_paths
5614
+ ---------------------------------------------------------------------
5615
+ Started GET "/assets/dogue.jpg" for 127.0.0.1 at 2015-09-27 17:38:58 -0400
5616
+ -----------------------------------------------------
5617
+ ConfigurationTest: test_renders_codeblocks_with_rouge
5618
+ -----------------------------------------------------
5619
+ Started GET "/code-block" for 127.0.0.1 at 2015-09-27 17:38:58 -0400
5620
+ Processing by PostsController#show as HTML
5621
+ Parameters: {"id"=>"code-block"}
5622
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/code-block.md (67.3ms)
5623
+ Rendered posts/show.html.erb within layouts/application (73.8ms)
5624
+ Completed 200 OK in 88ms (Views: 85.6ms)
5625
+ ------------------------------------------------------
5626
+ ConfigurationTest: test_renders_markdown_with_kramdown
5627
+ ------------------------------------------------------
5628
+ Started GET "/header-title" for 127.0.0.1 at 2015-09-27 17:38:58 -0400
5629
+ Processing by PostsController#show as HTML
5630
+ Parameters: {"id"=>"header-title"}
5631
+ Rendered /Users/max/dev/blogue/test/fixtures/posts/header-title.md (2.3ms)
5632
+ Rendered posts/show.html.erb within layouts/application (6.8ms)
5633
+ Completed 200 OK in 9ms (Views: 7.6ms)
5634
+ -------------------------------------------------
5635
+ Blogue::PostTest: test_uses_meta_title_if_present
5636
+ -------------------------------------------------
5637
+ -----------------------------------------------------
5638
+ Blogue::PostTest: test_date_returns_date_part_of_time
5639
+ -----------------------------------------------------
5640
+ -------------------------------------------------------------
5641
+ Blogue::PostTest: test_sort_posts_reverse-sorts_posts_by_time
5642
+ -------------------------------------------------------------
5643
+ ---------------------------------------------------------------
5644
+ Blogue::PostTest: test_uses_markdown_header_as_title_if_present
5645
+ ---------------------------------------------------------------
5646
+ -----------------------------------------------------------------------
5647
+ Blogue::PostTest: test_uses_filename_as_title_when_no_other_alternative
5648
+ -----------------------------------------------------------------------
5649
+ ----------------------------------------------------------------
5650
+ Blogue::PostTest: test_uses_file_creation_time_when_no_meta_date
5651
+ ----------------------------------------------------------------
5652
+ -----------------------------------------------------
5653
+ Blogue::PostTest: test_uses_time_from_meta_when_given
5654
+ -----------------------------------------------------
5655
+ ------------------------------------------------------------
5656
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path
5657
+ ------------------------------------------------------------
5658
+ -------------------------------------------------------------------------------------
5659
+ Blogue::PostTest: test_extract_post_id_extracts_id_from_path_with_multiple_extensions
5660
+ -------------------------------------------------------------------------------------
5661
+ ---------------------------------------
5662
+ Blogue::PostTest: test_finds_post_by_id
5663
+ ---------------------------------------