draper 1.0.0.beta6 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. data/.travis.yml +6 -0
  2. data/.yardopts +1 -1
  3. data/CHANGELOG.md +20 -0
  4. data/Gemfile +11 -0
  5. data/README.md +14 -17
  6. data/Rakefile +5 -3
  7. data/draper.gemspec +2 -2
  8. data/lib/draper.rb +2 -1
  9. data/lib/draper/automatic_delegation.rb +50 -0
  10. data/lib/draper/collection_decorator.rb +26 -7
  11. data/lib/draper/decoratable.rb +71 -32
  12. data/lib/draper/decorated_association.rb +11 -7
  13. data/lib/draper/decorator.rb +114 -148
  14. data/lib/draper/delegation.rb +13 -0
  15. data/lib/draper/finders.rb +9 -6
  16. data/lib/draper/helper_proxy.rb +4 -3
  17. data/lib/draper/lazy_helpers.rb +10 -6
  18. data/lib/draper/railtie.rb +5 -4
  19. data/lib/draper/tasks/test.rake +22 -0
  20. data/lib/draper/test/devise_helper.rb +34 -0
  21. data/lib/draper/test/minitest_integration.rb +2 -3
  22. data/lib/draper/test/rspec_integration.rb +4 -59
  23. data/lib/draper/test_case.rb +33 -0
  24. data/lib/draper/version.rb +1 -1
  25. data/lib/draper/view_helpers.rb +4 -3
  26. data/lib/generators/decorator/templates/decorator.rb +7 -25
  27. data/lib/generators/mini_test/decorator_generator.rb +20 -0
  28. data/lib/generators/mini_test/templates/decorator_spec.rb +4 -0
  29. data/lib/generators/mini_test/templates/decorator_test.rb +4 -0
  30. data/lib/generators/test_unit/templates/decorator_test.rb +1 -1
  31. data/spec/draper/collection_decorator_spec.rb +25 -3
  32. data/spec/draper/decorated_association_spec.rb +18 -7
  33. data/spec/draper/decorator_spec.rb +125 -165
  34. data/spec/draper/finders_spec.rb +0 -13
  35. data/spec/dummy/app/controllers/localized_urls.rb +1 -1
  36. data/spec/dummy/app/controllers/posts_controller.rb +3 -9
  37. data/spec/dummy/app/decorators/post_decorator.rb +4 -1
  38. data/spec/dummy/config/application.rb +3 -3
  39. data/spec/dummy/config/environments/development.rb +4 -4
  40. data/spec/dummy/config/environments/test.rb +2 -2
  41. data/spec/dummy/lib/tasks/test.rake +10 -0
  42. data/spec/dummy/mini_test/mini_test_integration_test.rb +46 -0
  43. data/spec/dummy/spec/decorators/post_decorator_spec.rb +2 -2
  44. data/spec/dummy/spec/decorators/rspec_integration_spec.rb +19 -0
  45. data/spec/dummy/spec/mailers/post_mailer_spec.rb +2 -2
  46. data/spec/dummy/spec/spec_helper.rb +0 -1
  47. data/spec/generators/decorator/decorator_generator_spec.rb +43 -2
  48. data/spec/integration/integration_spec.rb +2 -2
  49. data/spec/spec_helper.rb +17 -21
  50. data/spec/support/active_record.rb +0 -13
  51. data/spec/support/dummy_app.rb +4 -3
  52. metadata +26 -23
  53. data/lib/draper/security.rb +0 -48
  54. data/lib/draper/tasks/tu.rake +0 -5
  55. data/lib/draper/test/test_unit_integration.rb +0 -18
  56. data/spec/draper/security_spec.rb +0 -158
  57. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  58. data/spec/dummy/lib/tasks/spec.rake +0 -5
  59. data/spec/minitest-rails/spec_type_spec.rb +0 -63
@@ -47,13 +47,13 @@ module Dummy
47
47
  # This will create an empty whitelist of attributes available for mass-assignment for all models
48
48
  # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
49
49
  # parameters by using an attr_accessible or attr_protected declaration.
50
- config.active_record.whitelist_attributes = true
50
+ # config.active_record.whitelist_attributes = true
51
51
 
52
52
  # Enable the asset pipeline
53
- config.assets.enabled = true
53
+ # config.assets.enabled = true
54
54
 
55
55
  # Version of your assets, change this if you want to expire all your assets
56
- config.assets.version = '1.0'
56
+ # config.assets.version = '1.0'
57
57
 
58
58
  # Tell Action Mailer not to deliver emails to the real world.
59
59
  # The :test delivery method accumulates sent emails in the
@@ -20,15 +20,15 @@ Dummy::Application.configure do
20
20
  config.action_dispatch.best_standards_support = :builtin
21
21
 
22
22
  # Raise exception on mass assignment protection for Active Record models
23
- config.active_record.mass_assignment_sanitizer = :strict
23
+ # config.active_record.mass_assignment_sanitizer = :strict
24
24
 
25
25
  # Log the query plan for queries taking more than this (works
26
26
  # with SQLite, MySQL, and PostgreSQL)
27
- config.active_record.auto_explain_threshold_in_seconds = 0.5
27
+ # config.active_record.auto_explain_threshold_in_seconds = 0.5
28
28
 
29
29
  # Do not compress assets
30
- config.assets.compress = false
30
+ # config.assets.compress = false
31
31
 
32
32
  # Expands the lines which load the assets
33
- config.assets.debug = true
33
+ # config.assets.debug = true
34
34
  end
@@ -8,7 +8,7 @@ Dummy::Application.configure do
8
8
  config.cache_classes = true
9
9
 
10
10
  # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
11
+ # config.serve_static_assets = true
12
12
  config.static_cache_control = "public, max-age=3600"
13
13
 
14
14
  # Log error messages when you accidentally call methods on nil
@@ -25,7 +25,7 @@ Dummy::Application.configure do
25
25
  config.action_controller.allow_forgery_protection = false
26
26
 
27
27
  # Raise exception on mass assignment protection for Active Record models
28
- config.active_record.mass_assignment_sanitizer = :strict
28
+ # config.active_record.mass_assignment_sanitizer = :strict
29
29
 
30
30
  # Print deprecation notices to the stderr
31
31
  config.active_support.deprecation = :stderr
@@ -0,0 +1,10 @@
1
+ require 'rspec/core/rake_task'
2
+ require 'rake/testtask'
3
+
4
+ RSpec::Core::RakeTask.new :rspec
5
+
6
+ Rake::TestTask.new :mini_test do |t|
7
+ t.test_files = ["mini_test/mini_test_integration_test.rb"]
8
+ end
9
+
10
+ task :default => [:rspec, :mini_test]
@@ -0,0 +1,46 @@
1
+ require File.expand_path('../../config/environment', __FILE__)
2
+ require 'minitest/autorun'
3
+ require 'minitest/rails'
4
+
5
+ def it_is_a_decorator_test
6
+ it "is a decorator test" do
7
+ assert_kind_of Draper::TestCase, self
8
+ end
9
+ end
10
+
11
+ def it_is_not_a_decorator_test
12
+ it "is not a decorator test" do
13
+ refute_kind_of Draper::TestCase, self
14
+ end
15
+ end
16
+
17
+ ProductDecorator = Class.new(Draper::Decorator)
18
+ ProductsDecorator = Class.new(Draper::CollectionDecorator)
19
+
20
+ describe ProductDecorator do
21
+ it_is_a_decorator_test
22
+ end
23
+
24
+ describe ProductsDecorator do
25
+ it_is_a_decorator_test
26
+ end
27
+
28
+ describe "ProductDecorator" do
29
+ it_is_a_decorator_test
30
+ end
31
+
32
+ describe "AnyDecorator" do
33
+ it_is_a_decorator_test
34
+ end
35
+
36
+ describe "Any decorator test" do
37
+ it_is_a_decorator_test
38
+ end
39
+
40
+ describe Object do
41
+ it_is_not_a_decorator_test
42
+ end
43
+
44
+ describe "Nope" do
45
+ it_is_not_a_decorator_test
46
+ end
@@ -13,11 +13,11 @@ describe PostDecorator do
13
13
  end
14
14
 
15
15
  it "can use url helpers with its model" do
16
- subject.url_with_model.should == "http://www.example.com/en/posts/#{source.id}"
16
+ subject.url_with_model.should == "http://www.example.com:12345/en/posts/#{source.id}"
17
17
  end
18
18
 
19
19
  it "can use url helpers with its id" do
20
- subject.url_with_id.should == "http://www.example.com/en/posts/#{source.id}"
20
+ subject.url_with_id.should == "http://www.example.com:12345/en/posts/#{source.id}"
21
21
  end
22
22
 
23
23
  it "can be passed implicitly to url_for" do
@@ -0,0 +1,19 @@
1
+ describe "A spec in this folder" do
2
+ it "is a decorator spec" do
3
+ example.metadata[:type].should be :decorator
4
+ end
5
+ end
6
+
7
+ describe "A decorator spec" do
8
+ it "can access helpers through `helper`" do
9
+ helper.content_tag(:p, "Help!").should == "<p>Help!</p>"
10
+ end
11
+
12
+ it "can access helpers through `helpers`" do
13
+ helpers.content_tag(:p, "Help!").should == "<p>Help!</p>"
14
+ end
15
+
16
+ it "can access helpers through `h`" do
17
+ h.content_tag(:p, "Help!").should == "<p>Help!</p>"
18
+ end
19
+ end
@@ -19,11 +19,11 @@ describe PostMailer do
19
19
  end
20
20
 
21
21
  it "can use url helpers with a model" do
22
- subject.should have_css "#url_with_model", text: "http://www.example.com/en/posts/#{post.id}"
22
+ subject.should have_css "#url_with_model", text: "http://www.example.com:12345/en/posts/#{post.id}"
23
23
  end
24
24
 
25
25
  it "can use url helpers with an id" do
26
- subject.should have_css "#url_with_id", text: "http://www.example.com/en/posts/#{post.id}"
26
+ subject.should have_css "#url_with_id", text: "http://www.example.com:12345/en/posts/#{post.id}"
27
27
  end
28
28
  end
29
29
  end
@@ -1,7 +1,6 @@
1
1
  ENV['RAILS_ENV'] ||= 'test'
2
2
  require File.expand_path('../../config/environment', __FILE__)
3
3
  require 'rspec/rails'
4
- require 'draper/test/rspec_integration'
5
4
 
6
5
  RSpec.configure do |config|
7
6
  config.treat_symbols_as_metadata_keys_with_true_values = true
@@ -80,7 +80,7 @@ describe Rails::Generators::DecoratorGenerator do
80
80
  describe 'test/decorators/YourModel_decorator_test.rb' do
81
81
  subject { file('test/decorators/your_model_decorator_test.rb') }
82
82
  it { should exist }
83
- it { should contain "class YourModelDecoratorTest < ActiveSupport::TestCase" }
83
+ it { should contain "class YourModelDecoratorTest < Draper::TestCase" }
84
84
  end
85
85
  end
86
86
 
@@ -90,7 +90,48 @@ describe Rails::Generators::DecoratorGenerator do
90
90
  describe 'test/decorators/your_model_decorator_test.rb' do
91
91
  subject { file('test/decorators/namespace/your_model_decorator_test.rb') }
92
92
  it { should exist }
93
- it { should contain "class Namespace::YourModelDecoratorTest < ActiveSupport::TestCase" }
93
+ it { should contain "class Namespace::YourModelDecoratorTest < Draper::TestCase" }
94
94
  end
95
95
  end
96
+
97
+ context 'using minitest-rails' do
98
+ before { run_generator ["YourModel", "-t=mini_test"] }
99
+
100
+ describe 'test/decorators/your_model_decorator_test.rb' do
101
+ subject { file('test/decorators/your_model_decorator_test.rb') }
102
+ it { should exist }
103
+ it { should contain "class YourModelDecoratorTest < Draper::TestCase" }
104
+ end
105
+ end
106
+
107
+ context 'using minitest-rails with namespaced model' do
108
+ before { run_generator ["Namespace::YourModel", "-t=mini_test"] }
109
+
110
+ describe 'test/decorators/your_model_decorator_test.rb' do
111
+ subject { file('test/decorators/namespace/your_model_decorator_test.rb') }
112
+ it { should exist }
113
+ it { should contain "class Namespace::YourModelDecoratorTest < Draper::TestCase" }
114
+ end
115
+ end
116
+
117
+ context 'using minitest-rails with spec syntax' do
118
+ before { run_generator ["YourModel", "-t=mini_test", "--spec"] }
119
+
120
+ describe 'test/decorators/your_model_decorator_test.rb' do
121
+ subject { file('test/decorators/your_model_decorator_test.rb') }
122
+ it { should exist }
123
+ it { should contain "describe YourModelDecorator" }
124
+ end
125
+ end
126
+
127
+ context 'using minitest-rails with spec syntax with namespaced model' do
128
+ before { run_generator ["Namespace::YourModel", "-t=mini_test", "--spec"] }
129
+
130
+ describe 'test/decorators/your_model_decorator_test.rb' do
131
+ subject { file('test/decorators/namespace/your_model_decorator_test.rb') }
132
+ it { should exist }
133
+ it { should contain "describe Namespace::YourModelDecorator" }
134
+ end
135
+ end
136
+
96
137
  end
@@ -22,11 +22,11 @@ app.start_server do
22
22
  end
23
23
 
24
24
  it "can use url helpers with a model" do
25
- page.should have_text("http://www.example.com/en/posts/1").in("#url_with_model")
25
+ page.should have_text("http://www.example.com:12345/en/posts/1").in("#url_with_model")
26
26
  end
27
27
 
28
28
  it "can use url helpers with an id" do
29
- page.should have_text("http://www.example.com/en/posts/1").in("#url_with_id")
29
+ page.should have_text("http://www.example.com:12345/en/posts/1").in("#url_with_id")
30
30
  end
31
31
  end
32
32
  end
@@ -8,26 +8,22 @@ require 'action_controller/test_case'
8
8
 
9
9
  Bundler.require
10
10
 
11
- require './spec/support/active_model'
12
- require './spec/support/active_record'
13
- require './spec/support/action_controller'
11
+ require 'support/active_model'
12
+ require 'support/active_record'
13
+ require 'support/action_controller'
14
14
 
15
- require './spec/support/models/product'
16
- require './spec/support/models/namespaced_product'
17
- require './spec/support/models/non_active_model_product'
18
- require './spec/support/models/widget'
19
- require './spec/support/models/some_thing'
20
- require './spec/support/models/uninferrable_decorator_model'
15
+ require 'support/models/product'
16
+ require 'support/models/namespaced_product'
17
+ require 'support/models/non_active_model_product'
18
+ require 'support/models/widget'
19
+ require 'support/models/some_thing'
20
+ require 'support/models/uninferrable_decorator_model'
21
21
 
22
- require './spec/support/decorators/product_decorator'
23
- require './spec/support/decorators/namespaced_product_decorator'
24
- require './spec/support/decorators/non_active_model_product_decorator'
25
- require './spec/support/decorators/widget_decorator'
26
- require './spec/support/decorators/specific_product_decorator'
27
- require './spec/support/decorators/products_decorator'
28
- require './spec/support/decorators/some_thing_decorator'
29
- require './spec/support/decorators/decorator_with_application_helper'
30
-
31
- class << Rails
32
- undef application # Avoid silly Rails bug: https://github.com/rails/rails/pull/6429
33
- end
22
+ require 'support/decorators/product_decorator'
23
+ require 'support/decorators/namespaced_product_decorator'
24
+ require 'support/decorators/non_active_model_product_decorator'
25
+ require 'support/decorators/widget_decorator'
26
+ require 'support/decorators/specific_product_decorator'
27
+ require 'support/decorators/products_decorator'
28
+ require 'support/decorators/some_thing_decorator'
29
+ require 'support/decorators/decorator_with_application_helper'
@@ -1,18 +1,5 @@
1
1
  module ActiveRecord
2
2
  class Base
3
- include ActiveModel::Validations
4
- include ActiveModel::Conversion
5
-
6
- attr_reader :errors, :to_model
7
-
8
- def initialize
9
- @errors = ActiveModel::Errors.new(self)
10
- end
11
-
12
- def self.limit
13
- self
14
- end
15
-
16
3
  end
17
4
  end
18
5
 
@@ -49,7 +49,8 @@ class DummyApp
49
49
 
50
50
  yield
51
51
 
52
- Process.kill('KILL', out.pid)
52
+ Process.kill("KILL", out.pid)
53
+ File.delete("tmp/pids/server.pid")
53
54
  end
54
55
  end
55
56
  end
@@ -57,11 +58,11 @@ class DummyApp
57
58
  private
58
59
 
59
60
  def root
60
- File.expand_path('../../dummy', __FILE__)
61
+ File.expand_path("../../dummy", __FILE__)
61
62
  end
62
63
 
63
64
  def localhost
64
- '127.0.0.1'
65
+ "127.0.0.1"
65
66
  end
66
67
 
67
68
  def port
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: draper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta6
5
- prerelease: 6
4
+ version: 1.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeff Casimir
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-31 00:00:00.000000000 Z
13
+ date: 2013-01-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -81,7 +81,7 @@ dependencies:
81
81
  requirement: !ruby/object:Gem::Requirement
82
82
  none: false
83
83
  requirements:
84
- - - ~>
84
+ - - ! '>='
85
85
  - !ruby/object:Gem::Version
86
86
  version: 0.9.2
87
87
  type: :development
@@ -89,7 +89,7 @@ dependencies:
89
89
  version_requirements: !ruby/object:Gem::Requirement
90
90
  none: false
91
91
  requirements:
92
- - - ~>
92
+ - - ! '>='
93
93
  - !ruby/object:Gem::Version
94
94
  version: 0.9.2
95
95
  - !ruby/object:Gem::Dependency
@@ -125,21 +125,21 @@ dependencies:
125
125
  - !ruby/object:Gem::Version
126
126
  version: 2.12.1
127
127
  - !ruby/object:Gem::Dependency
128
- name: yard
128
+ name: rspec-rails
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  none: false
131
131
  requirements:
132
- - - ! '>='
132
+ - - ~>
133
133
  - !ruby/object:Gem::Version
134
- version: '0'
134
+ version: '2.12'
135
135
  type: :development
136
136
  prerelease: false
137
137
  version_requirements: !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
- - - ! '>='
140
+ - - ~>
141
141
  - !ruby/object:Gem::Version
142
- version: '0'
142
+ version: '2.12'
143
143
  - !ruby/object:Gem::Dependency
144
144
  name: minitest-rails
145
145
  requirement: !ruby/object:Gem::Requirement
@@ -194,25 +194,30 @@ files:
194
194
  - Rakefile
195
195
  - draper.gemspec
196
196
  - lib/draper.rb
197
+ - lib/draper/automatic_delegation.rb
197
198
  - lib/draper/collection_decorator.rb
198
199
  - lib/draper/decoratable.rb
199
200
  - lib/draper/decorated_association.rb
200
201
  - lib/draper/decorator.rb
202
+ - lib/draper/delegation.rb
201
203
  - lib/draper/finders.rb
202
204
  - lib/draper/helper_proxy.rb
203
205
  - lib/draper/helper_support.rb
204
206
  - lib/draper/lazy_helpers.rb
205
207
  - lib/draper/railtie.rb
206
- - lib/draper/security.rb
207
- - lib/draper/tasks/tu.rake
208
+ - lib/draper/tasks/test.rake
209
+ - lib/draper/test/devise_helper.rb
208
210
  - lib/draper/test/minitest_integration.rb
209
211
  - lib/draper/test/rspec_integration.rb
210
- - lib/draper/test/test_unit_integration.rb
212
+ - lib/draper/test_case.rb
211
213
  - lib/draper/version.rb
212
214
  - lib/draper/view_context.rb
213
215
  - lib/draper/view_helpers.rb
214
216
  - lib/generators/decorator/decorator_generator.rb
215
217
  - lib/generators/decorator/templates/decorator.rb
218
+ - lib/generators/mini_test/decorator_generator.rb
219
+ - lib/generators/mini_test/templates/decorator_spec.rb
220
+ - lib/generators/mini_test/templates/decorator_test.rb
216
221
  - lib/generators/resource_override.rb
217
222
  - lib/generators/rspec/decorator_generator.rb
218
223
  - lib/generators/rspec/templates/decorator_spec.rb
@@ -224,7 +229,6 @@ files:
224
229
  - spec/draper/decorator_spec.rb
225
230
  - spec/draper/finders_spec.rb
226
231
  - spec/draper/helper_proxy_spec.rb
227
- - spec/draper/security_spec.rb
228
232
  - spec/draper/view_helpers_spec.rb
229
233
  - spec/dummy/.rspec
230
234
  - spec/dummy/README.rdoc
@@ -254,26 +258,26 @@ files:
254
258
  - spec/dummy/config/initializers/mime_types.rb
255
259
  - spec/dummy/config/initializers/secret_token.rb
256
260
  - spec/dummy/config/initializers/session_store.rb
257
- - spec/dummy/config/initializers/wrap_parameters.rb
258
261
  - spec/dummy/config/locales/en.yml
259
262
  - spec/dummy/config/routes.rb
260
263
  - spec/dummy/db/migrate/20121019115657_create_posts.rb
261
264
  - spec/dummy/db/schema.rb
262
265
  - spec/dummy/db/seeds.rb
263
- - spec/dummy/lib/tasks/spec.rake
266
+ - spec/dummy/lib/tasks/test.rake
264
267
  - spec/dummy/log/.gitkeep
268
+ - spec/dummy/mini_test/mini_test_integration_test.rb
265
269
  - spec/dummy/public/404.html
266
270
  - spec/dummy/public/422.html
267
271
  - spec/dummy/public/500.html
268
272
  - spec/dummy/public/favicon.ico
269
273
  - spec/dummy/script/rails
270
274
  - spec/dummy/spec/decorators/post_decorator_spec.rb
275
+ - spec/dummy/spec/decorators/rspec_integration_spec.rb
271
276
  - spec/dummy/spec/mailers/post_mailer_spec.rb
272
277
  - spec/dummy/spec/models/post_spec.rb
273
278
  - spec/dummy/spec/spec_helper.rb
274
279
  - spec/generators/decorator/decorator_generator_spec.rb
275
280
  - spec/integration/integration_spec.rb
276
- - spec/minitest-rails/spec_type_spec.rb
277
281
  - spec/performance/active_record.rb
278
282
  - spec/performance/benchmark.rb
279
283
  - spec/performance/decorators.rb
@@ -313,9 +317,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
313
317
  required_rubygems_version: !ruby/object:Gem::Requirement
314
318
  none: false
315
319
  requirements:
316
- - - ! '>'
320
+ - - ! '>='
317
321
  - !ruby/object:Gem::Version
318
- version: 1.3.1
322
+ version: '0'
319
323
  requirements: []
320
324
  rubyforge_project: draper
321
325
  rubygems_version: 1.8.23
@@ -329,7 +333,6 @@ test_files:
329
333
  - spec/draper/decorator_spec.rb
330
334
  - spec/draper/finders_spec.rb
331
335
  - spec/draper/helper_proxy_spec.rb
332
- - spec/draper/security_spec.rb
333
336
  - spec/draper/view_helpers_spec.rb
334
337
  - spec/dummy/.rspec
335
338
  - spec/dummy/README.rdoc
@@ -359,26 +362,26 @@ test_files:
359
362
  - spec/dummy/config/initializers/mime_types.rb
360
363
  - spec/dummy/config/initializers/secret_token.rb
361
364
  - spec/dummy/config/initializers/session_store.rb
362
- - spec/dummy/config/initializers/wrap_parameters.rb
363
365
  - spec/dummy/config/locales/en.yml
364
366
  - spec/dummy/config/routes.rb
365
367
  - spec/dummy/db/migrate/20121019115657_create_posts.rb
366
368
  - spec/dummy/db/schema.rb
367
369
  - spec/dummy/db/seeds.rb
368
- - spec/dummy/lib/tasks/spec.rake
370
+ - spec/dummy/lib/tasks/test.rake
369
371
  - spec/dummy/log/.gitkeep
372
+ - spec/dummy/mini_test/mini_test_integration_test.rb
370
373
  - spec/dummy/public/404.html
371
374
  - spec/dummy/public/422.html
372
375
  - spec/dummy/public/500.html
373
376
  - spec/dummy/public/favicon.ico
374
377
  - spec/dummy/script/rails
375
378
  - spec/dummy/spec/decorators/post_decorator_spec.rb
379
+ - spec/dummy/spec/decorators/rspec_integration_spec.rb
376
380
  - spec/dummy/spec/mailers/post_mailer_spec.rb
377
381
  - spec/dummy/spec/models/post_spec.rb
378
382
  - spec/dummy/spec/spec_helper.rb
379
383
  - spec/generators/decorator/decorator_generator_spec.rb
380
384
  - spec/integration/integration_spec.rb
381
- - spec/minitest-rails/spec_type_spec.rb
382
385
  - spec/performance/active_record.rb
383
386
  - spec/performance/benchmark.rb
384
387
  - spec/performance/decorators.rb