rails-controller-testing 0.0.3 → 1.0.1
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.
- checksums.yaml +4 -4
- data/LICENSE +20 -0
- data/README.md +41 -4
- data/lib/rails/controller/testing/railtie.rb +5 -0
- data/lib/rails/controller/testing/version.rb +1 -1
- data/lib/rails/controller/testing.rb +25 -0
- data/lib/rails-controller-testing.rb +3 -23
- data/test/controllers/assigns_test.rb +0 -1
- data/test/controllers/template_assertions_test.rb +0 -1
- data/test/dummy/app/controllers/assigns_controller.rb +1 -1
- data/test/dummy/app/controllers/view_assigns_controller.rb +1 -1
- data/test/dummy/config/application.rb +0 -4
- data/test/dummy/config/environments/development.rb +0 -6
- data/test/dummy/config/environments/test.rb +5 -8
- data/test/dummy/config/initializers/assets.rb +1 -1
- data/test/helpers/template_assertions_test.rb +0 -1
- data/test/test_helper.rb +0 -1
- metadata +97 -62
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +0 -40527
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1985518a366c6d03e6ee96cc506686ac0c2d965d
|
|
4
|
+
data.tar.gz: 97d894de1d866047e6b8fc0d6055b17f91f7d48c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54709c6e0bf1f97d9d35e8c613b6f7990a8e11541601b5f16296604d6a3b4e0ee2c86e6a7f4214bcbb54ecc0f5364bec7d670712a45d85694dbe3671062578ac
|
|
7
|
+
data.tar.gz: fb983705ffd31ccdc5d93c5b2ebcc478bc08cc2a2bde8d98a8c13068219879f4fbb5716012440de89c7f6323a129cdb2371d1aa37c8f43d3b14d75a776fdc7d4
|
data/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright 2015-2016 Alan Guo Xiang Tan
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
# Rails::Controller::Testing
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/tgxworld/rails-controller-testing)
|
|
4
|
-
[](http://badge.fury.io/rb/rails-controller-testing)
|
|
5
|
-
|
|
6
3
|
This gem brings back `assigns` to your controller tests as well as `assert_template`
|
|
7
4
|
to both controller and integration tests.
|
|
8
5
|
|
|
@@ -23,6 +20,39 @@ Or install it yourself as:
|
|
|
23
20
|
|
|
24
21
|
$ gem install rails-controller-testing
|
|
25
22
|
|
|
23
|
+
### RSpec
|
|
24
|
+
|
|
25
|
+
See https://github.com/rspec/rspec-rails/issues/1393.
|
|
26
|
+
|
|
27
|
+
rspec-rails will automatically integrate with this gem once `3.5.0` and Rails 5 are released.
|
|
28
|
+
Adding the gem to your `Gemfile` is sufficient.
|
|
29
|
+
|
|
30
|
+
To work around the issue right now, use a beta version of rspec-rails or
|
|
31
|
+
manually you'll have to include the modules in your `rails_helper`.
|
|
32
|
+
|
|
33
|
+
```ruby
|
|
34
|
+
RSpec.configure do |config|
|
|
35
|
+
[:controller, :view, :request].each do |type|
|
|
36
|
+
config.include ::Rails::Controller::Testing::TestProcess, :type => type
|
|
37
|
+
config.include ::Rails::Controller::Testing::TemplateAssertions, :type => type
|
|
38
|
+
config.include ::Rails::Controller::Testing::Integration, :type => type
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Outside Rails
|
|
44
|
+
|
|
45
|
+
For projects and gems using controller tests outside of a Rails application,
|
|
46
|
+
invoke the `Rails::Controller::Testing.install` method inside your test suite
|
|
47
|
+
setup to include the required modules on controller test cases.
|
|
48
|
+
|
|
49
|
+
```ruby
|
|
50
|
+
# test/test_helper.rb
|
|
51
|
+
|
|
52
|
+
require 'rails-controller-testing'
|
|
53
|
+
Rails::Controller::Testing.install
|
|
54
|
+
```
|
|
55
|
+
|
|
26
56
|
## Usage
|
|
27
57
|
|
|
28
58
|
### assigns
|
|
@@ -49,7 +79,14 @@ end
|
|
|
49
79
|
|
|
50
80
|
`assert_template` allows to you assert that certain templates have been rendered.
|
|
51
81
|
|
|
52
|
-
|
|
82
|
+
```ruby
|
|
83
|
+
class PostControllerTest < ActionController::TestCase
|
|
84
|
+
def test_index
|
|
85
|
+
get :index
|
|
86
|
+
assert_template 'posts/index'
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
```
|
|
53
90
|
|
|
54
91
|
## Contributing
|
|
55
92
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
require 'active_support/lazy_load_hooks'
|
|
2
|
+
require 'rails/controller/testing/test_process'
|
|
3
|
+
require 'rails/controller/testing/integration'
|
|
4
|
+
require 'rails/controller/testing/template_assertions'
|
|
5
|
+
|
|
6
|
+
module Rails
|
|
7
|
+
module Controller
|
|
8
|
+
module Testing
|
|
9
|
+
def self.install
|
|
10
|
+
ActiveSupport.on_load(:action_controller) do
|
|
11
|
+
ActionController::TestCase.include Rails::Controller::Testing::TestProcess
|
|
12
|
+
ActionController::TestCase.include Rails::Controller::Testing::TemplateAssertions
|
|
13
|
+
|
|
14
|
+
ActionDispatch::IntegrationTest.include Rails::Controller::Testing::TemplateAssertions
|
|
15
|
+
ActionDispatch::IntegrationTest.include Rails::Controller::Testing::Integration
|
|
16
|
+
ActionDispatch::IntegrationTest.include Rails::Controller::Testing::TestProcess
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
ActiveSupport.on_load(:action_view) do
|
|
20
|
+
ActionView::TestCase.include Rails::Controller::Testing::TemplateAssertions
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -1,23 +1,3 @@
|
|
|
1
|
-
require 'rails/controller/testing
|
|
2
|
-
require 'rails/controller/testing/
|
|
3
|
-
require 'rails/controller/testing/
|
|
4
|
-
|
|
5
|
-
module ActionController
|
|
6
|
-
class TestCase
|
|
7
|
-
include Rails::Controller::Testing::TestProcess
|
|
8
|
-
include Rails::Controller::Testing::TemplateAssertions
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
module ActionDispatch
|
|
13
|
-
class IntegrationTest
|
|
14
|
-
include Rails::Controller::Testing::TemplateAssertions
|
|
15
|
-
include Rails::Controller::Testing::Integration
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
module ActionView
|
|
20
|
-
class TestCase
|
|
21
|
-
include Rails::Controller::Testing::TemplateAssertions
|
|
22
|
-
end
|
|
23
|
-
end
|
|
1
|
+
require 'rails/controller/testing'
|
|
2
|
+
require 'rails/controller/testing/railtie' if defined?(Rails::Railtie)
|
|
3
|
+
require 'rails/controller/testing/version'
|
|
@@ -18,9 +18,5 @@ module Dummy
|
|
|
18
18
|
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
|
19
19
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
|
20
20
|
# config.i18n.default_locale = :de
|
|
21
|
-
|
|
22
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
|
23
|
-
config.active_record.raise_in_transactional_callbacks = true
|
|
24
21
|
end
|
|
25
22
|
end
|
|
26
|
-
|
|
@@ -13,15 +13,9 @@ Rails.application.configure do
|
|
|
13
13
|
config.consider_all_requests_local = true
|
|
14
14
|
config.action_controller.perform_caching = false
|
|
15
15
|
|
|
16
|
-
# Don't care if the mailer can't send.
|
|
17
|
-
config.action_mailer.raise_delivery_errors = false
|
|
18
|
-
|
|
19
16
|
# Print deprecation notices to the Rails logger.
|
|
20
17
|
config.active_support.deprecation = :log
|
|
21
18
|
|
|
22
|
-
# Raise an error on page load if there are pending migrations.
|
|
23
|
-
config.active_record.migration_error = :page_load
|
|
24
|
-
|
|
25
19
|
# Debug mode disables concatenation and preprocessing of assets.
|
|
26
20
|
# This option may cause significant delays in view rendering with a large
|
|
27
21
|
# number of complex assets.
|
|
@@ -12,9 +12,11 @@ Rails.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
|
|
16
|
-
config.
|
|
17
|
-
config.
|
|
15
|
+
# Configure public file server for tests with Cache-Control for performance.
|
|
16
|
+
config.public_file_server.enabled = true
|
|
17
|
+
config.public_file_server.headers = {
|
|
18
|
+
'Cache-Control' => 'public, max-age=3600'
|
|
19
|
+
}
|
|
18
20
|
|
|
19
21
|
# Show full error reports and disable caching.
|
|
20
22
|
config.consider_all_requests_local = true
|
|
@@ -26,11 +28,6 @@ Rails.application.configure do
|
|
|
26
28
|
# Disable request forgery protection in test environment.
|
|
27
29
|
config.action_controller.allow_forgery_protection = false
|
|
28
30
|
|
|
29
|
-
# Tell Action Mailer not to deliver emails to the real world.
|
|
30
|
-
# The :test delivery method accumulates sent emails in the
|
|
31
|
-
# ActionMailer::Base.deliveries array.
|
|
32
|
-
config.action_mailer.delivery_method = :test
|
|
33
|
-
|
|
34
31
|
# Randomize the order test cases are executed.
|
|
35
32
|
config.active_support.test_order = :random
|
|
36
33
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
|
2
2
|
|
|
3
3
|
# Version of your assets, change this if you want to expire all your assets.
|
|
4
|
-
Rails.application.config.assets.version = '1.0'
|
|
4
|
+
# Rails.application.config.assets.version = '1.0'
|
|
5
5
|
|
|
6
6
|
# Add additional assets to the asset load path
|
|
7
7
|
# Rails.application.config.assets.paths << Emoji.images_path
|
data/test/test_helper.rb
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
|
3
3
|
|
|
4
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
5
|
require "rails/test_help"
|
|
7
6
|
require 'rails-controller-testing'
|
|
8
7
|
|
metadata
CHANGED
|
@@ -1,29 +1,71 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails-controller-testing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Rails Core Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: actionpack
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 5.x
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 5.x
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: actionview
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 5.x
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 5.x
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: activesupport
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
25
46
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
47
|
+
version: 5.x
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: 5.x
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: railties
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 5.x
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 5.x
|
|
27
69
|
- !ruby/object:Gem::Dependency
|
|
28
70
|
name: sqlite3
|
|
29
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -39,16 +81,18 @@ dependencies:
|
|
|
39
81
|
- !ruby/object:Gem::Version
|
|
40
82
|
version: '0'
|
|
41
83
|
description:
|
|
42
|
-
email:
|
|
43
|
-
- tgx_world@hotmail.com
|
|
84
|
+
email:
|
|
44
85
|
executables: []
|
|
45
86
|
extensions: []
|
|
46
87
|
extra_rdoc_files: []
|
|
47
88
|
files:
|
|
89
|
+
- LICENSE
|
|
48
90
|
- README.md
|
|
49
91
|
- Rakefile
|
|
50
92
|
- lib/rails-controller-testing.rb
|
|
93
|
+
- lib/rails/controller/testing.rb
|
|
51
94
|
- lib/rails/controller/testing/integration.rb
|
|
95
|
+
- lib/rails/controller/testing/railtie.rb
|
|
52
96
|
- lib/rails/controller/testing/template_assertions.rb
|
|
53
97
|
- lib/rails/controller/testing/test_process.rb
|
|
54
98
|
- lib/rails/controller/testing/version.rb
|
|
@@ -56,8 +100,6 @@ files:
|
|
|
56
100
|
- test/controllers/template_assertions_test.rb
|
|
57
101
|
- test/dummy/README.rdoc
|
|
58
102
|
- test/dummy/Rakefile
|
|
59
|
-
- test/dummy/app/assets/javascripts/application.js
|
|
60
|
-
- test/dummy/app/assets/stylesheets/application.css
|
|
61
103
|
- test/dummy/app/controllers/assigns_controller.rb
|
|
62
104
|
- test/dummy/app/controllers/template_assertions_controller.rb
|
|
63
105
|
- test/dummy/app/controllers/view_assigns_controller.rb
|
|
@@ -97,8 +139,6 @@ files:
|
|
|
97
139
|
- test/dummy/config/locales/en.yml
|
|
98
140
|
- test/dummy/config/routes.rb
|
|
99
141
|
- test/dummy/config/secrets.yml
|
|
100
|
-
- test/dummy/db/test.sqlite3
|
|
101
|
-
- test/dummy/log/test.log
|
|
102
142
|
- test/dummy/public/404.html
|
|
103
143
|
- test/dummy/public/422.html
|
|
104
144
|
- test/dummy/public/500.html
|
|
@@ -106,7 +146,7 @@ files:
|
|
|
106
146
|
- test/helpers/template_assertions_test.rb
|
|
107
147
|
- test/integration/template_assertions_test.rb
|
|
108
148
|
- test/test_helper.rb
|
|
109
|
-
homepage: https://github.com/
|
|
149
|
+
homepage: https://github.com/rails/rails-controller-testing
|
|
110
150
|
licenses:
|
|
111
151
|
- MIT
|
|
112
152
|
metadata: {}
|
|
@@ -118,7 +158,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
118
158
|
requirements:
|
|
119
159
|
- - ">="
|
|
120
160
|
- !ruby/object:Gem::Version
|
|
121
|
-
version:
|
|
161
|
+
version: 2.2.1
|
|
122
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
163
|
requirements:
|
|
124
164
|
- - ">="
|
|
@@ -126,63 +166,58 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
126
166
|
version: '0'
|
|
127
167
|
requirements: []
|
|
128
168
|
rubyforge_project:
|
|
129
|
-
rubygems_version: 2.
|
|
169
|
+
rubygems_version: 2.6.6
|
|
130
170
|
signing_key:
|
|
131
171
|
specification_version: 4
|
|
132
172
|
summary: Extracting `assigns` and `assert_template` from ActionDispatch.
|
|
133
173
|
test_files:
|
|
134
|
-
- test/
|
|
135
|
-
- test/
|
|
136
|
-
- test/dummy/
|
|
137
|
-
- test/dummy/
|
|
138
|
-
- test/dummy/
|
|
139
|
-
- test/dummy/
|
|
174
|
+
- test/controllers/assigns_test.rb
|
|
175
|
+
- test/controllers/template_assertions_test.rb
|
|
176
|
+
- test/dummy/app/controllers/assigns_controller.rb
|
|
177
|
+
- test/dummy/app/controllers/template_assertions_controller.rb
|
|
178
|
+
- test/dummy/app/controllers/view_assigns_controller.rb
|
|
179
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
180
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
181
|
+
- test/dummy/app/views/layouts/standard.html.erb
|
|
182
|
+
- test/dummy/app/views/test/_directory/_partial_with_locales.html.erb
|
|
183
|
+
- test/dummy/app/views/test/_layout_for_partial.html.erb
|
|
184
|
+
- test/dummy/app/views/test/_partial.html.erb
|
|
185
|
+
- test/dummy/app/views/test/_partial_for_use_in_layout.html.erb
|
|
186
|
+
- test/dummy/app/views/test/calling_partial_with_layout.html.erb
|
|
187
|
+
- test/dummy/app/views/test/hello/hello.html.erb
|
|
188
|
+
- test/dummy/app/views/test/hello_world.html.erb
|
|
189
|
+
- test/dummy/app/views/test/hello_world_with_partial.html.erb
|
|
190
|
+
- test/dummy/app/views/test/render_partial_inside_directory.html.erb
|
|
191
|
+
- test/dummy/app/views/test/render_two_partials.html.erb
|
|
192
|
+
- test/dummy/bin/bundle
|
|
193
|
+
- test/dummy/bin/rails
|
|
194
|
+
- test/dummy/bin/rake
|
|
195
|
+
- test/dummy/bin/setup
|
|
196
|
+
- test/dummy/config/application.rb
|
|
140
197
|
- test/dummy/config/boot.rb
|
|
141
|
-
- test/dummy/config/
|
|
142
|
-
- test/dummy/config/
|
|
198
|
+
- test/dummy/config/database.yml
|
|
199
|
+
- test/dummy/config/environment.rb
|
|
200
|
+
- test/dummy/config/environments/development.rb
|
|
201
|
+
- test/dummy/config/environments/production.rb
|
|
202
|
+
- test/dummy/config/environments/test.rb
|
|
143
203
|
- test/dummy/config/initializers/assets.rb
|
|
144
|
-
- test/dummy/config/initializers/
|
|
145
|
-
- test/dummy/config/initializers/
|
|
146
|
-
- test/dummy/config/initializers/mime_types.rb
|
|
204
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
205
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
|
147
206
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
148
207
|
- test/dummy/config/initializers/inflections.rb
|
|
149
|
-
- test/dummy/config/
|
|
150
|
-
- test/dummy/config/
|
|
151
|
-
- test/dummy/config/
|
|
152
|
-
- test/dummy/config/
|
|
208
|
+
- test/dummy/config/initializers/mime_types.rb
|
|
209
|
+
- test/dummy/config/initializers/session_store.rb
|
|
210
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
211
|
+
- test/dummy/config/locales/en.yml
|
|
153
212
|
- test/dummy/config/routes.rb
|
|
154
|
-
- test/dummy/config/database.yml
|
|
155
|
-
- test/dummy/config/application.rb
|
|
156
213
|
- test/dummy/config/secrets.yml
|
|
157
|
-
- test/dummy/config
|
|
158
|
-
- test/dummy/
|
|
214
|
+
- test/dummy/config.ru
|
|
215
|
+
- test/dummy/public/404.html
|
|
216
|
+
- test/dummy/public/422.html
|
|
217
|
+
- test/dummy/public/500.html
|
|
218
|
+
- test/dummy/public/favicon.ico
|
|
159
219
|
- test/dummy/Rakefile
|
|
160
|
-
- test/dummy/app/assets/stylesheets/application.css
|
|
161
|
-
- test/dummy/app/assets/javascripts/application.js
|
|
162
|
-
- test/dummy/app/views/test/_partial_for_use_in_layout.html.erb
|
|
163
|
-
- test/dummy/app/views/test/render_partial_inside_directory.html.erb
|
|
164
|
-
- test/dummy/app/views/test/hello_world_with_partial.html.erb
|
|
165
|
-
- test/dummy/app/views/test/render_two_partials.html.erb
|
|
166
|
-
- test/dummy/app/views/test/_layout_for_partial.html.erb
|
|
167
|
-
- test/dummy/app/views/test/calling_partial_with_layout.html.erb
|
|
168
|
-
- test/dummy/app/views/test/hello_world.html.erb
|
|
169
|
-
- test/dummy/app/views/test/_directory/_partial_with_locales.html.erb
|
|
170
|
-
- test/dummy/app/views/test/_partial.html.erb
|
|
171
|
-
- test/dummy/app/views/test/hello/hello.html.erb
|
|
172
|
-
- test/dummy/app/views/layouts/application.html.erb
|
|
173
|
-
- test/dummy/app/views/layouts/standard.html.erb
|
|
174
|
-
- test/dummy/app/controllers/template_assertions_controller.rb
|
|
175
|
-
- test/dummy/app/controllers/view_assigns_controller.rb
|
|
176
|
-
- test/dummy/app/controllers/assigns_controller.rb
|
|
177
|
-
- test/dummy/app/helpers/application_helper.rb
|
|
178
|
-
- test/dummy/bin/rails
|
|
179
|
-
- test/dummy/bin/setup
|
|
180
|
-
- test/dummy/bin/rake
|
|
181
|
-
- test/dummy/bin/bundle
|
|
182
220
|
- test/dummy/README.rdoc
|
|
183
|
-
- test/test_helper.rb
|
|
184
|
-
- test/controllers/assigns_test.rb
|
|
185
|
-
- test/controllers/template_assertions_test.rb
|
|
186
221
|
- test/helpers/template_assertions_test.rb
|
|
187
222
|
- test/integration/template_assertions_test.rb
|
|
188
|
-
|
|
223
|
+
- test/test_helper.rb
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
-
// listed below.
|
|
3
|
-
//
|
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
-
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
|
6
|
-
//
|
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
-
// compiled file.
|
|
9
|
-
//
|
|
10
|
-
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
|
11
|
-
// about supported directives.
|
|
12
|
-
//
|
|
13
|
-
//= require_tree .
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
-
* listed below.
|
|
4
|
-
*
|
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
7
|
-
*
|
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any styles
|
|
10
|
-
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
|
11
|
-
* file per style scope.
|
|
12
|
-
*
|
|
13
|
-
*= require_tree .
|
|
14
|
-
*= require_self
|
|
15
|
-
*/
|
data/test/dummy/db/test.sqlite3
DELETED
|
File without changes
|