rails-controller-testing 0.0.2

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 (62) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +18 -0
  3. data/lib/rails-controller-testing.rb +15 -0
  4. data/lib/rails/controller/testing/integration.rb +18 -0
  5. data/lib/rails/controller/testing/template_assertions.rb +192 -0
  6. data/lib/rails/controller/testing/test_process.rb +15 -0
  7. data/lib/rails/controller/testing/version.rb +7 -0
  8. data/test/controllers/assigns_test.rb +30 -0
  9. data/test/controllers/template_assertions_test.rb +214 -0
  10. data/test/dummy/README.rdoc +28 -0
  11. data/test/dummy/Rakefile +6 -0
  12. data/test/dummy/app/assets/javascripts/application.js +13 -0
  13. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  14. data/test/dummy/app/controllers/assigns_controller.rb +7 -0
  15. data/test/dummy/app/controllers/template_assertions_controller.rb +34 -0
  16. data/test/dummy/app/controllers/view_assigns_controller.rb +10 -0
  17. data/test/dummy/app/helpers/application_helper.rb +2 -0
  18. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/test/dummy/app/views/layouts/standard.html.erb +0 -0
  20. data/test/dummy/app/views/test/_directory/_partial_with_locales.html.erb +1 -0
  21. data/test/dummy/app/views/test/_layout_for_partial.html.erb +3 -0
  22. data/test/dummy/app/views/test/_partial.html.erb +0 -0
  23. data/test/dummy/app/views/test/_partial_for_use_in_layout.html.erb +1 -0
  24. data/test/dummy/app/views/test/calling_partial_with_layout.html.erb +1 -0
  25. data/test/dummy/app/views/test/hello/hello.html.erb +0 -0
  26. data/test/dummy/app/views/test/hello_world.html.erb +0 -0
  27. data/test/dummy/app/views/test/hello_world_with_partial.html.erb +1 -0
  28. data/test/dummy/app/views/test/render_partial_inside_directory.html.erb +1 -0
  29. data/test/dummy/app/views/test/render_two_partials.html.erb +2 -0
  30. data/test/dummy/bin/bundle +3 -0
  31. data/test/dummy/bin/rails +4 -0
  32. data/test/dummy/bin/rake +4 -0
  33. data/test/dummy/bin/setup +29 -0
  34. data/test/dummy/config.ru +4 -0
  35. data/test/dummy/config/application.rb +26 -0
  36. data/test/dummy/config/boot.rb +5 -0
  37. data/test/dummy/config/database.yml +25 -0
  38. data/test/dummy/config/environment.rb +5 -0
  39. data/test/dummy/config/environments/development.rb +41 -0
  40. data/test/dummy/config/environments/production.rb +79 -0
  41. data/test/dummy/config/environments/test.rb +42 -0
  42. data/test/dummy/config/initializers/assets.rb +11 -0
  43. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  44. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  45. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  46. data/test/dummy/config/initializers/inflections.rb +16 -0
  47. data/test/dummy/config/initializers/mime_types.rb +4 -0
  48. data/test/dummy/config/initializers/session_store.rb +3 -0
  49. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/test/dummy/config/locales/en.yml +23 -0
  51. data/test/dummy/config/routes.rb +57 -0
  52. data/test/dummy/config/secrets.yml +22 -0
  53. data/test/dummy/db/test.sqlite3 +0 -0
  54. data/test/dummy/log/test.log +33855 -0
  55. data/test/dummy/public/404.html +67 -0
  56. data/test/dummy/public/422.html +67 -0
  57. data/test/dummy/public/500.html +66 -0
  58. data/test/dummy/public/favicon.ico +0 -0
  59. data/test/helpers/template_assertions_test.rb +61 -0
  60. data/test/integration/template_assertions_test.rb +90 -0
  61. data/test/test_helper.rb +19 -0
  62. metadata +187 -0
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,61 @@
1
+ require 'test_helper'
2
+ require 'rails-controller-testing'
3
+
4
+ class RenderTemplateTest < ActionView::TestCase
5
+ include Rails::Controller::Testing
6
+
7
+ test "supports specifying templates with a Regexp" do
8
+ render(template: "test/hello_world")
9
+ assert_template %r{\Atest/hello_world\Z}
10
+ end
11
+
12
+ test "supports specifying partials" do
13
+ controller.controller_path = "test"
14
+ render(template: "test/calling_partial_with_layout")
15
+ assert_template partial: "_partial_for_use_in_layout"
16
+ end
17
+
18
+ test "supports specifying locals (passing)" do
19
+ controller.controller_path = "test"
20
+ render(template: "test/calling_partial_with_layout")
21
+ assert_template partial: "_partial_for_use_in_layout", locals: { name: "David" }
22
+ end
23
+
24
+ test "supports specifying locals (failing)" do
25
+ controller.controller_path = "test"
26
+ render(template: "test/calling_partial_with_layout")
27
+ e = assert_raise ActiveSupport::TestCase::Assertion do
28
+ assert_template partial: "_partial_for_use_in_layout", locals: { name: "Somebody Else" }
29
+ end
30
+ assert_match(/Somebody Else.*David/m, e.message)
31
+ end
32
+
33
+ test 'supports different locals on the same partial' do
34
+ controller.controller_path = "test"
35
+ render(template: "test/render_two_partials")
36
+ assert_template partial: '_partial', locals: { 'first' => '1' }
37
+ assert_template partial: '_partial', locals: { 'second' => '2' }
38
+ end
39
+
40
+ test 'raises descriptive error message when template was not rendered' do
41
+ controller.controller_path = "test"
42
+ render(template: "test/hello_world_with_partial")
43
+ e = assert_raise ActiveSupport::TestCase::Assertion do
44
+ assert_template partial: 'i_was_never_rendered', locals: { 'did_not' => 'happen' }
45
+ end
46
+ assert_match "i_was_never_rendered to be rendered but it was not.", e.message
47
+ assert_match 'Expected ["/test/partial"] to include "i_was_never_rendered"', e.message
48
+ end
49
+
50
+ test 'specifying locals works when the partial is inside a directory with underline prefix' do
51
+ controller.controller_path = "test"
52
+ render(template: 'test/render_partial_inside_directory')
53
+ assert_template partial: 'test/_directory/_partial_with_locales', locals: { 'name' => 'Jane' }
54
+ end
55
+
56
+ test 'specifying locals works when the partial is inside a directory without underline prefix' do
57
+ controller.controller_path = "test"
58
+ render(template: 'test/render_partial_inside_directory')
59
+ assert_template partial: 'test/_directory/partial_with_locales', locals: { 'name' => 'Jane' }
60
+ end
61
+ end
@@ -0,0 +1,90 @@
1
+ require 'test_helper'
2
+ require 'rails-controller-testing'
3
+
4
+ class TemplateAssertionsIntegrationTest < ActionDispatch::IntegrationTest
5
+ include Rails::Controller::Testing
6
+
7
+ def test_template_reset_between_requests
8
+ get '/template_assertions/render_with_template'
9
+ assert_template 'test/hello_world'
10
+
11
+ get '/template_assertions/render_nothing'
12
+ assert_template nil
13
+ end
14
+
15
+ def test_partial_reset_between_requests
16
+ get '/template_assertions/render_with_partial'
17
+ assert_template partial: 'test/_partial'
18
+
19
+ get '/template_assertions/render_nothing'
20
+ assert_template partial: nil
21
+ end
22
+
23
+ def test_layout_reset_between_requests
24
+ get '/template_assertions/render_with_layout'
25
+ assert_template layout: 'layouts/standard'
26
+
27
+ get '/template_assertions/render_nothing'
28
+ assert_template layout: nil
29
+ end
30
+
31
+ def test_file_reset_between_requests
32
+ get '/template_assertions/render_file_relative_path'
33
+ assert_template file: 'README.rdoc'
34
+
35
+ get '/template_assertions/render_nothing'
36
+ assert_template file: nil
37
+ end
38
+
39
+ def test_template_reset_between_requests_when_opening_a_session
40
+ open_session do |session|
41
+ session.get '/template_assertions/render_with_template'
42
+ session.assert_template 'test/hello_world'
43
+
44
+ session.get '/template_assertions/render_nothing'
45
+ session.assert_template nil
46
+ end
47
+ end
48
+
49
+ def test_partial_reset_between_requests_when_opening_a_session
50
+ open_session do |session|
51
+ session.get '/template_assertions/render_with_partial'
52
+ session.assert_template partial: 'test/_partial'
53
+
54
+ session.get '/template_assertions/render_nothing'
55
+ session.assert_template partial: nil
56
+ end
57
+ end
58
+
59
+ def test_layout_reset_between_requests_when_opening_a_session
60
+ open_session do |session|
61
+ session.get '/template_assertions/render_with_layout'
62
+ session.assert_template layout: 'layouts/standard'
63
+
64
+ session.get '/template_assertions/render_nothing'
65
+ session.assert_template layout: nil
66
+ end
67
+ end
68
+
69
+ def test_file_reset_between_requests_when_opening_a_session
70
+ open_session do |session|
71
+ session.get '/template_assertions/render_file_relative_path'
72
+ session.assert_template file: 'README.rdoc'
73
+
74
+ session.get '/template_assertions/render_nothing'
75
+ session.assert_template file: nil
76
+ end
77
+ end
78
+
79
+ def test_assigns_do_not_reset_template_assertion
80
+ get '/template_assertions/render_with_layout'
81
+ assert_equal 'hello', assigns(:variable_for_layout)
82
+ assert_template layout: 'layouts/standard'
83
+ end
84
+
85
+ def test_cookies_do_not_reset_template_assertion
86
+ get '/template_assertions/render_with_layout'
87
+ cookies
88
+ assert_template layout: 'layouts/standard'
89
+ end
90
+ end
@@ -0,0 +1,19 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
6
+ require "rails/test_help"
7
+
8
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
9
+ # to be shown.
10
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
11
+
12
+ # Load support files
13
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
14
+
15
+ # Load fixtures from the engine
16
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
17
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
18
+ ActiveSupport::TestCase.fixtures :all
19
+ end
metadata ADDED
@@ -0,0 +1,187 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails-controller-testing
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Alan Guo Xiang Tan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-05-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.2.0.beta
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.0.beta
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description:
42
+ email:
43
+ - tgx_world@hotmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - Rakefile
49
+ - lib/rails-controller-testing.rb
50
+ - lib/rails/controller/testing/integration.rb
51
+ - lib/rails/controller/testing/template_assertions.rb
52
+ - lib/rails/controller/testing/test_process.rb
53
+ - lib/rails/controller/testing/version.rb
54
+ - test/controllers/assigns_test.rb
55
+ - test/controllers/template_assertions_test.rb
56
+ - test/dummy/README.rdoc
57
+ - test/dummy/Rakefile
58
+ - test/dummy/app/assets/javascripts/application.js
59
+ - test/dummy/app/assets/stylesheets/application.css
60
+ - test/dummy/app/controllers/assigns_controller.rb
61
+ - test/dummy/app/controllers/template_assertions_controller.rb
62
+ - test/dummy/app/controllers/view_assigns_controller.rb
63
+ - test/dummy/app/helpers/application_helper.rb
64
+ - test/dummy/app/views/layouts/application.html.erb
65
+ - test/dummy/app/views/layouts/standard.html.erb
66
+ - test/dummy/app/views/test/_directory/_partial_with_locales.html.erb
67
+ - test/dummy/app/views/test/_layout_for_partial.html.erb
68
+ - test/dummy/app/views/test/_partial.html.erb
69
+ - test/dummy/app/views/test/_partial_for_use_in_layout.html.erb
70
+ - test/dummy/app/views/test/calling_partial_with_layout.html.erb
71
+ - test/dummy/app/views/test/hello/hello.html.erb
72
+ - test/dummy/app/views/test/hello_world.html.erb
73
+ - test/dummy/app/views/test/hello_world_with_partial.html.erb
74
+ - test/dummy/app/views/test/render_partial_inside_directory.html.erb
75
+ - test/dummy/app/views/test/render_two_partials.html.erb
76
+ - test/dummy/bin/bundle
77
+ - test/dummy/bin/rails
78
+ - test/dummy/bin/rake
79
+ - test/dummy/bin/setup
80
+ - test/dummy/config.ru
81
+ - test/dummy/config/application.rb
82
+ - test/dummy/config/boot.rb
83
+ - test/dummy/config/database.yml
84
+ - test/dummy/config/environment.rb
85
+ - test/dummy/config/environments/development.rb
86
+ - test/dummy/config/environments/production.rb
87
+ - test/dummy/config/environments/test.rb
88
+ - test/dummy/config/initializers/assets.rb
89
+ - test/dummy/config/initializers/backtrace_silencers.rb
90
+ - test/dummy/config/initializers/cookies_serializer.rb
91
+ - test/dummy/config/initializers/filter_parameter_logging.rb
92
+ - test/dummy/config/initializers/inflections.rb
93
+ - test/dummy/config/initializers/mime_types.rb
94
+ - test/dummy/config/initializers/session_store.rb
95
+ - test/dummy/config/initializers/wrap_parameters.rb
96
+ - test/dummy/config/locales/en.yml
97
+ - test/dummy/config/routes.rb
98
+ - test/dummy/config/secrets.yml
99
+ - test/dummy/db/test.sqlite3
100
+ - test/dummy/log/test.log
101
+ - test/dummy/public/404.html
102
+ - test/dummy/public/422.html
103
+ - test/dummy/public/500.html
104
+ - test/dummy/public/favicon.ico
105
+ - test/helpers/template_assertions_test.rb
106
+ - test/integration/template_assertions_test.rb
107
+ - test/test_helper.rb
108
+ homepage: https://github.com/tgxworld/rails-controller-testing
109
+ licenses:
110
+ - MIT
111
+ metadata: {}
112
+ post_install_message:
113
+ rdoc_options: []
114
+ require_paths:
115
+ - lib
116
+ required_ruby_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ requirements: []
127
+ rubyforge_project:
128
+ rubygems_version: 2.4.5
129
+ signing_key:
130
+ specification_version: 4
131
+ summary: Extracting `assigns()` and `assert_template` from ActionDispatch.
132
+ test_files:
133
+ - test/dummy/public/422.html
134
+ - test/dummy/public/500.html
135
+ - test/dummy/public/404.html
136
+ - test/dummy/public/favicon.ico
137
+ - test/dummy/log/test.log
138
+ - test/dummy/config.ru
139
+ - test/dummy/config/boot.rb
140
+ - test/dummy/config/initializers/cookies_serializer.rb
141
+ - test/dummy/config/initializers/backtrace_silencers.rb
142
+ - test/dummy/config/initializers/assets.rb
143
+ - test/dummy/config/initializers/session_store.rb
144
+ - test/dummy/config/initializers/wrap_parameters.rb
145
+ - test/dummy/config/initializers/mime_types.rb
146
+ - test/dummy/config/initializers/filter_parameter_logging.rb
147
+ - test/dummy/config/initializers/inflections.rb
148
+ - test/dummy/config/environments/production.rb
149
+ - test/dummy/config/environments/development.rb
150
+ - test/dummy/config/environments/test.rb
151
+ - test/dummy/config/environment.rb
152
+ - test/dummy/config/routes.rb
153
+ - test/dummy/config/database.yml
154
+ - test/dummy/config/application.rb
155
+ - test/dummy/config/secrets.yml
156
+ - test/dummy/config/locales/en.yml
157
+ - test/dummy/db/test.sqlite3
158
+ - test/dummy/Rakefile
159
+ - test/dummy/app/assets/stylesheets/application.css
160
+ - test/dummy/app/assets/javascripts/application.js
161
+ - test/dummy/app/views/test/_partial_for_use_in_layout.html.erb
162
+ - test/dummy/app/views/test/render_partial_inside_directory.html.erb
163
+ - test/dummy/app/views/test/hello_world_with_partial.html.erb
164
+ - test/dummy/app/views/test/render_two_partials.html.erb
165
+ - test/dummy/app/views/test/_layout_for_partial.html.erb
166
+ - test/dummy/app/views/test/calling_partial_with_layout.html.erb
167
+ - test/dummy/app/views/test/hello_world.html.erb
168
+ - test/dummy/app/views/test/_directory/_partial_with_locales.html.erb
169
+ - test/dummy/app/views/test/_partial.html.erb
170
+ - test/dummy/app/views/test/hello/hello.html.erb
171
+ - test/dummy/app/views/layouts/application.html.erb
172
+ - test/dummy/app/views/layouts/standard.html.erb
173
+ - test/dummy/app/controllers/template_assertions_controller.rb
174
+ - test/dummy/app/controllers/view_assigns_controller.rb
175
+ - test/dummy/app/controllers/assigns_controller.rb
176
+ - test/dummy/app/helpers/application_helper.rb
177
+ - test/dummy/bin/rails
178
+ - test/dummy/bin/setup
179
+ - test/dummy/bin/rake
180
+ - test/dummy/bin/bundle
181
+ - test/dummy/README.rdoc
182
+ - test/test_helper.rb
183
+ - test/controllers/assigns_test.rb
184
+ - test/controllers/template_assertions_test.rb
185
+ - test/helpers/template_assertions_test.rb
186
+ - test/integration/template_assertions_test.rb
187
+ has_rdoc: