draper 1.3.0 → 1.3.1

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: 0e75f0dd1ba7ae0030d13480aff3ff107d0d4b4c
4
- data.tar.gz: 65a8625646622e1028e5a39cc7211cae6149fd5e
3
+ metadata.gz: 1f81b7399dc00d41ae63b326f39168c4eee62fd2
4
+ data.tar.gz: e7551c20a72398d534bbf9b172f126e0f6d2f992
5
5
  SHA512:
6
- metadata.gz: e59d96cc6a143e504f2382de22aeeb2d577f062353464cd31d25f161305fdf92609438f77c5b4fb3490cbd23f970286d4de4566729c39db04da47397b80a21a1
7
- data.tar.gz: e8c846f71bdbcee910f1307d915780da808098303dcba43e7a2dfc3944b791640b866bc20d01d55366585be6a015a82d07fdb23c8b092e83ec5d622461212a12
6
+ metadata.gz: 5e77c1b9609806a7cd011978203dac1d8554898f65787e403e866c704ac1ccd7e383c512e0134b1151ad290abaca0b0d286ef88457104f282b68812b1ff7ef8a
7
+ data.tar.gz: 6bb88ce4a64ea56510a76e45211f79faab6e4fc464ec836b181b8c35970ed4b2abc162ff705dd61f2cc3042bff4a5790166f727dcffb8cf41690ceb289c0728b
data/.travis.yml CHANGED
@@ -5,9 +5,11 @@ services:
5
5
 
6
6
  rvm:
7
7
  - 1.9.3
8
- - 2.0.0
9
- - rbx-19mode
8
+ - 2.1.0
10
9
  - jruby-19mode
10
+ - rbx-2
11
+ - ruby-head
12
+ - jruby-head
11
13
 
12
14
  env:
13
15
  - "RAILS_VERSION=4.0"
@@ -19,3 +21,5 @@ env:
19
21
  matrix:
20
22
  allow_failures:
21
23
  - env: "RAILS_VERSION=4.1"
24
+ - rvm: ruby-head
25
+ - rvm: jruby-head
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Draper Changelog
2
2
 
3
+ ## 1.3.0
4
+
5
+ [30 commits by 11 authors](https://github.com/drapergem/draper/compare/v1.2.1...v1.3.0)
6
+
7
+ * [Add `decorator_class?` method](https://github.com/drapergem/draper/commit/53e1df5c3ee169144a2778c6d2ee13cc6af99429)
8
+
9
+ * [Clear ViewContext before specs instead of after](https://github.com/drapergem/draper/pull/547)
10
+
11
+ * [Add alias method `#{model_name}` to the decorated object ](https://github.com/drapergem/draper/commit/f5f27243c3f0c37bff4872e1e78521e570ff1e4f)
12
+
13
+ * [Hook into `controller_generator` and `scaffold_controller_generator` instead of resource generator](https://github.com/drapergem/draper/commit/cd4f298987c3b4ad8046563ad4a087055fc7efe2)
14
+
15
+ * [Delegate `to_s` method to the object](https://github.com/drapergem/draper/commit/58b8181050c2a9a86f54660e7bb6bfefa5fd0b64)
16
+
3
17
  ## 1.2.1
4
18
 
5
19
  [28 commits by 4 authors](https://github.com/drapergem/draper/compare/v1.2.0...v1.2.1)
data/draper.gemspec CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_development_dependency 'rspec', '~> 2.12'
28
28
  s.add_development_dependency 'rspec-mocks', '>= 2.12.1'
29
29
  s.add_development_dependency 'rspec-rails', '~> 2.12'
30
- s.add_development_dependency 'minitest-rails', '~> 0.2'
30
+ s.add_development_dependency 'minitest-rails', '>= 1.0'
31
31
  s.add_development_dependency 'capybara'
32
32
  s.add_development_dependency 'active_model_serializers'
33
33
  end
data/lib/draper.rb CHANGED
@@ -22,6 +22,7 @@ require 'draper/decorated_association'
22
22
  require 'draper/helper_support'
23
23
  require 'draper/view_context'
24
24
  require 'draper/collection_decorator'
25
+ require 'draper/undecorate'
25
26
  require 'draper/decorates_assigned'
26
27
  require 'draper/railtie' if defined?(Rails)
27
28
 
@@ -32,10 +33,7 @@ module Draper
32
33
  extend Draper::HelperSupport
33
34
  extend Draper::DecoratesAssigned
34
35
 
35
- before_filter do |controller|
36
- Draper::ViewContext.clear!
37
- Draper::ViewContext.controller = controller
38
- end
36
+ before_filter :activate_draper
39
37
  end
40
38
  end
41
39
 
@@ -75,8 +75,12 @@ module Draper
75
75
  decorator_name = "#{prefix}Decorator"
76
76
  decorator_name.constantize
77
77
  rescue NameError => error
78
- raise unless error.missing_name?(decorator_name)
79
- raise Draper::UninferrableDecoratorError.new(self)
78
+ if superclass.respond_to?(:decorator_class)
79
+ superclass.decorator_class
80
+ else
81
+ raise unless error.missing_name?(decorator_name)
82
+ raise Draper::UninferrableDecoratorError.new(self)
83
+ end
80
84
  end
81
85
 
82
86
  # Compares with possibly-decorated objects.
@@ -20,7 +20,6 @@ module Draper
20
20
  if Rails.env.test?
21
21
  require 'draper/test_case'
22
22
  require 'draper/test/rspec_integration' if defined?(RSpec) and RSpec.respond_to?(:configure)
23
- require 'draper/test/minitest_integration' if defined?(MiniTest::Rails)
24
23
  end
25
24
  end
26
25
 
@@ -50,6 +49,12 @@ module Draper
50
49
  end
51
50
  end
52
51
 
52
+ initializer "draper.minitest-rails_integration" do |app|
53
+ ActiveSupport.on_load :minitest do
54
+ require "draper/test/minitest_integration"
55
+ end
56
+ end
57
+
53
58
  console do
54
59
  require 'action_controller/test_case'
55
60
  ApplicationController.new.view_context
@@ -7,7 +7,11 @@ module Draper
7
7
  end
8
8
 
9
9
  RSpec.configure do |config|
10
- config.include DecoratorExampleGroup, example_group: {file_path: %r{spec/decorators}}, type: :decorator
10
+ if RSpec::Core::Version::STRING.starts_with?("3")
11
+ config.include DecoratorExampleGroup, file_path: %r{spec/decorators}, type: :decorator
12
+ else
13
+ config.include DecoratorExampleGroup, example_group: {file_path: %r{spec/decorators}}, type: :decorator
14
+ end
11
15
 
12
16
  [:decorator, :controller, :mailer].each do |type|
13
17
  config.before(:each, type: type) { Draper::ViewContext.clear! }
@@ -1,18 +1,7 @@
1
1
  module Draper
2
- begin
3
- require 'minitest/rails'
4
- rescue LoadError
5
- end
6
-
7
- active_support_test_case = begin
8
- require 'minitest/rails/active_support' # minitest-rails < 0.5
9
- ::MiniTest::Rails::ActiveSupport::TestCase
10
- rescue LoadError
11
- require 'active_support/test_case'
12
- ::ActiveSupport::TestCase
13
- end
2
+ require 'active_support/test_case'
14
3
 
15
- class TestCase < active_support_test_case
4
+ class TestCase < ::ActiveSupport::TestCase
16
5
  module ViewContextTeardown
17
6
  def teardown
18
7
  super
@@ -0,0 +1,9 @@
1
+ module Draper
2
+ def self.undecorate(object)
3
+ if object.respond_to?(:decorated?) && object.decorated?
4
+ object.object
5
+ else
6
+ object
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module Draper
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
@@ -10,6 +10,11 @@ module Draper
10
10
  end
11
11
  end
12
12
 
13
+ # Set the current controller
14
+ def activate_draper
15
+ Draper::ViewContext.controller = self
16
+ end
17
+
13
18
  # Returns the current controller.
14
19
  def self.controller
15
20
  RequestStore.store[:current_controller]
@@ -5,7 +5,9 @@ require "rails/generators/rails/scaffold_controller/scaffold_controller_generato
5
5
  module Rails
6
6
  module Generators
7
7
  class ControllerGenerator
8
- hook_for :decorator, default: true
8
+ hook_for :decorator, default: true do |generator|
9
+ invoke generator, [name.singularize]
10
+ end
9
11
  end
10
12
 
11
13
  class ScaffoldControllerGenerator
@@ -1,4 +1,4 @@
1
- require 'minitest_helper'
1
+ require 'test_helper'
2
2
 
3
3
  describe <%= class_name %>Decorator do
4
4
  end
@@ -1,4 +1,4 @@
1
- require 'minitest_helper'
1
+ require 'test_helper'
2
2
 
3
3
  class <%= class_name %>DecoratorTest < Draper::TestCase
4
4
  end
@@ -152,6 +152,12 @@ module Draper
152
152
  it "infers the decorator from the class" do
153
153
  expect(Product.decorator_class).to be ProductDecorator
154
154
  end
155
+
156
+ context "without a decorator on its own" do
157
+ it "infers the decorator from a superclass" do
158
+ expect(SpecialProduct.decorator_class).to be ProductDecorator
159
+ end
160
+ end
155
161
  end
156
162
 
157
163
  context "for ActiveModel classes" do
@@ -0,0 +1,19 @@
1
+ require 'spec_helper'
2
+
3
+ describe Draper, '.undecorate' do
4
+ it 'undecorates a decorated object' do
5
+ object = Model.new
6
+ decorator = Draper::Decorator.new(object)
7
+ expect(Draper.undecorate(decorator)).to equal object
8
+ end
9
+
10
+ it 'passes a non-decorated object through' do
11
+ object = Model.new
12
+ expect(Draper.undecorate(object)).to equal object
13
+ end
14
+
15
+ it 'passes a non-decorator object through' do
16
+ object = Object.new
17
+ expect(Draper.undecorate(object)).to equal object
18
+ end
19
+ end
@@ -73,7 +73,6 @@ test:
73
73
  hosts:
74
74
  - localhost:27017
75
75
  options:
76
- consistency: :strong
77
76
  # In the test environment we lower the retries and retry interval to
78
77
  # low amounts for fast failures.
79
78
  max_retries: 1
@@ -0,0 +1,22 @@
1
+ require 'spec_helper'
2
+ require 'rails'
3
+ require 'ammeter/init'
4
+ require 'generators/controller_override'
5
+ require 'generators/rails/decorator_generator'
6
+
7
+ describe Rails::Generators::ControllerGenerator do
8
+ destination File.expand_path("../tmp", __FILE__)
9
+
10
+ before { prepare_destination }
11
+ after(:all) { FileUtils.rm_rf destination_root }
12
+
13
+ describe "the generated decorator" do
14
+ subject { file("app/decorators/your_model_decorator.rb") }
15
+
16
+ describe "naming" do
17
+ before { run_generator %w(YourModels) }
18
+
19
+ it { should contain "class YourModelDecorator" }
20
+ end
21
+ end
22
+ end
data/spec/spec_helper.rb CHANGED
@@ -13,6 +13,7 @@ end
13
13
  class Model; include Draper::Decoratable; end
14
14
 
15
15
  class Product < Model; end
16
+ class SpecialProduct < Product; end
16
17
  class ProductDecorator < Draper::Decorator; end
17
18
  class ProductsDecorator < Draper::CollectionDecorator; end
18
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: draper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Casimir
@@ -9,174 +9,174 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-26 00:00:00.000000000 Z
12
+ date: 2014-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '3.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '3.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: actionpack
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '3.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '3.0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: request_store
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
48
  version: 1.0.3
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: 1.0.3
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: activemodel
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '3.0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '3.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: ammeter
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rake
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: 0.9.2
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: 0.9.2
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rspec
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: '2.12'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ~>
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
111
  version: '2.12'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: rspec-mocks
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>='
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: 2.12.1
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - '>='
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: 2.12.1
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: rspec-rails
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ~>
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
132
  version: '2.12'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - ~>
137
+ - - "~>"
138
138
  - !ruby/object:Gem::Version
139
139
  version: '2.12'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: minitest-rails
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - ~>
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
- version: '0.2'
146
+ version: '1.0'
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - ~>
151
+ - - ">="
152
152
  - !ruby/object:Gem::Version
153
- version: '0.2'
153
+ version: '1.0'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: capybara
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - '>='
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - '>='
165
+ - - ">="
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: active_model_serializers
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - '>='
172
+ - - ">="
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  type: :development
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - '>='
179
+ - - ">="
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  description: Draper adds an object-oriented layer of presentation logic to your Rails
@@ -188,10 +188,10 @@ executables: []
188
188
  extensions: []
189
189
  extra_rdoc_files: []
190
190
  files:
191
- - .gitignore
192
- - .rspec
193
- - .travis.yml
194
- - .yardopts
191
+ - ".gitignore"
192
+ - ".rspec"
193
+ - ".travis.yml"
194
+ - ".yardopts"
195
195
  - CHANGELOG.md
196
196
  - CONTRIBUTING.md
197
197
  - Gemfile
@@ -225,6 +225,7 @@ files:
225
225
  - lib/draper/test/minitest_integration.rb
226
226
  - lib/draper/test/rspec_integration.rb
227
227
  - lib/draper/test_case.rb
228
+ - lib/draper/undecorate.rb
228
229
  - lib/draper/version.rb
229
230
  - lib/draper/view_context.rb
230
231
  - lib/draper/view_context/build_strategy.rb
@@ -249,6 +250,7 @@ files:
249
250
  - spec/draper/finders_spec.rb
250
251
  - spec/draper/helper_proxy_spec.rb
251
252
  - spec/draper/lazy_helpers_spec.rb
253
+ - spec/draper/undecorate_spec.rb
252
254
  - spec/draper/view_context/build_strategy_spec.rb
253
255
  - spec/draper/view_context_spec.rb
254
256
  - spec/draper/view_helpers_spec.rb
@@ -318,6 +320,7 @@ files:
318
320
  - spec/dummy/test/decorators/test_unit/view_context_test.rb
319
321
  - spec/dummy/test/minitest_helper.rb
320
322
  - spec/dummy/test/test_helper.rb
323
+ - spec/generators/controller/controller_generator_spec.rb
321
324
  - spec/generators/decorator/decorator_generator_spec.rb
322
325
  - spec/integration/integration_spec.rb
323
326
  - spec/performance/active_record.rb
@@ -339,108 +342,18 @@ require_paths:
339
342
  - lib
340
343
  required_ruby_version: !ruby/object:Gem::Requirement
341
344
  requirements:
342
- - - '>='
345
+ - - ">="
343
346
  - !ruby/object:Gem::Version
344
347
  version: '0'
345
348
  required_rubygems_version: !ruby/object:Gem::Requirement
346
349
  requirements:
347
- - - '>='
350
+ - - ">="
348
351
  - !ruby/object:Gem::Version
349
352
  version: '0'
350
353
  requirements: []
351
354
  rubyforge_project:
352
- rubygems_version: 2.0.3
355
+ rubygems_version: 2.2.2
353
356
  signing_key:
354
357
  specification_version: 4
355
358
  summary: View Models for Rails
356
- test_files:
357
- - spec/draper/collection_decorator_spec.rb
358
- - spec/draper/decoratable/equality_spec.rb
359
- - spec/draper/decoratable_spec.rb
360
- - spec/draper/decorated_association_spec.rb
361
- - spec/draper/decorates_assigned_spec.rb
362
- - spec/draper/decorator_spec.rb
363
- - spec/draper/factory_spec.rb
364
- - spec/draper/finders_spec.rb
365
- - spec/draper/helper_proxy_spec.rb
366
- - spec/draper/lazy_helpers_spec.rb
367
- - spec/draper/view_context/build_strategy_spec.rb
368
- - spec/draper/view_context_spec.rb
369
- - spec/draper/view_helpers_spec.rb
370
- - spec/dummy/.rspec
371
- - spec/dummy/Rakefile
372
- - spec/dummy/app/controllers/application_controller.rb
373
- - spec/dummy/app/controllers/localized_urls.rb
374
- - spec/dummy/app/controllers/posts_controller.rb
375
- - spec/dummy/app/decorators/mongoid_post_decorator.rb
376
- - spec/dummy/app/decorators/post_decorator.rb
377
- - spec/dummy/app/helpers/application_helper.rb
378
- - spec/dummy/app/mailers/application_mailer.rb
379
- - spec/dummy/app/mailers/post_mailer.rb
380
- - spec/dummy/app/models/admin.rb
381
- - spec/dummy/app/models/mongoid_post.rb
382
- - spec/dummy/app/models/post.rb
383
- - spec/dummy/app/models/user.rb
384
- - spec/dummy/app/views/layouts/application.html.erb
385
- - spec/dummy/app/views/post_mailer/decorated_email.html.erb
386
- - spec/dummy/app/views/posts/_post.html.erb
387
- - spec/dummy/app/views/posts/show.html.erb
388
- - spec/dummy/bin/rails
389
- - spec/dummy/config.ru
390
- - spec/dummy/config/application.rb
391
- - spec/dummy/config/boot.rb
392
- - spec/dummy/config/database.yml
393
- - spec/dummy/config/environment.rb
394
- - spec/dummy/config/environments/development.rb
395
- - spec/dummy/config/environments/production.rb
396
- - spec/dummy/config/environments/test.rb
397
- - spec/dummy/config/initializers/backtrace_silencers.rb
398
- - spec/dummy/config/initializers/inflections.rb
399
- - spec/dummy/config/initializers/mime_types.rb
400
- - spec/dummy/config/initializers/secret_token.rb
401
- - spec/dummy/config/initializers/session_store.rb
402
- - spec/dummy/config/locales/en.yml
403
- - spec/dummy/config/mongoid.yml
404
- - spec/dummy/config/routes.rb
405
- - spec/dummy/db/migrate/20121019115657_create_posts.rb
406
- - spec/dummy/db/schema.rb
407
- - spec/dummy/db/seeds.rb
408
- - spec/dummy/fast_spec/post_decorator_spec.rb
409
- - spec/dummy/lib/tasks/test.rake
410
- - spec/dummy/log/.gitkeep
411
- - spec/dummy/public/404.html
412
- - spec/dummy/public/422.html
413
- - spec/dummy/public/500.html
414
- - spec/dummy/public/favicon.ico
415
- - spec/dummy/script/rails
416
- - spec/dummy/spec/decorators/active_model_serializers_spec.rb
417
- - spec/dummy/spec/decorators/devise_spec.rb
418
- - spec/dummy/spec/decorators/helpers_spec.rb
419
- - spec/dummy/spec/decorators/post_decorator_spec.rb
420
- - spec/dummy/spec/decorators/spec_type_spec.rb
421
- - spec/dummy/spec/decorators/view_context_spec.rb
422
- - spec/dummy/spec/mailers/post_mailer_spec.rb
423
- - spec/dummy/spec/models/mongoid_post_spec.rb
424
- - spec/dummy/spec/models/post_spec.rb
425
- - spec/dummy/spec/shared_examples/decoratable.rb
426
- - spec/dummy/spec/spec_helper.rb
427
- - spec/dummy/test/decorators/minitest/devise_test.rb
428
- - spec/dummy/test/decorators/minitest/helpers_test.rb
429
- - spec/dummy/test/decorators/minitest/spec_type_test.rb
430
- - spec/dummy/test/decorators/minitest/view_context_test.rb
431
- - spec/dummy/test/decorators/test_unit/devise_test.rb
432
- - spec/dummy/test/decorators/test_unit/helpers_test.rb
433
- - spec/dummy/test/decorators/test_unit/view_context_test.rb
434
- - spec/dummy/test/minitest_helper.rb
435
- - spec/dummy/test/test_helper.rb
436
- - spec/generators/decorator/decorator_generator_spec.rb
437
- - spec/integration/integration_spec.rb
438
- - spec/performance/active_record.rb
439
- - spec/performance/benchmark.rb
440
- - spec/performance/decorators.rb
441
- - spec/performance/models.rb
442
- - spec/spec_helper.rb
443
- - spec/support/dummy_app.rb
444
- - spec/support/matchers/have_text.rb
445
- - spec/support/shared_examples/decoratable_equality.rb
446
- - spec/support/shared_examples/view_helpers.rb
359
+ test_files: []