draper/spec/dummy
y-yagi 89ec4b70f4 Add support for Rails 6.0 to `ViewContext::BuildStrategy` (#866)
* Add support for Rails 6.0 to `ViewContext::BuildStrategy`

In Rails 6.0 the API for `ActionView::Base.new` is changing.
`ActionView::Base.new` now take arguments [1], otherwise you
will see the following deprecation warning:

```
DEPRECATION WARNING: ActionView::Base instances should be constructed with a lookup context, assignments, and a controller.
```

[1] e17fe52e0e

`ViewContext::BuildStrategy::Fast` does not have lookup context, so use `empty`
method instead of `new` to build instance.

* Bump a Rails version of dummy application

Also bump a sqlite version because Rails 6.0 requires upper sqlite
1.4.0.

* Add `ApplicationController` to dummy application

Because Action Text expects `ApplicationController` exists.
Ref: https://github.com/rails/rails/issues/35749#issuecomment-525083643

* Test against Rails 6.0 that only supported Ruby versions
2020-01-07 10:58:00 -06:00
..
app Add support for Rails 6.0 to `ViewContext::BuildStrategy` (#866) 2020-01-07 10:58:00 -06:00
bin Rails 4 compatibility 2013-01-15 11:23:54 +00:00
config Feature: ActiveJob Integration and Documentation (#817) 2017-09-11 09:35:14 -07:00
db add migration version to create posts migration (#803) 2017-05-09 09:20:38 -05:00
fast_spec Fix deprecations and possible false positive issue in tests. (#781) 2017-03-27 22:19:18 -05:00
lib/tasks Replace hash rockets with new syntax (#802) 2017-05-08 09:28:07 -05:00
log Adding cucumber stuff for integration testing. 2012-10-19 14:12:27 -03:00
public Adding cucumber stuff for integration testing. 2012-10-19 14:12:27 -03:00
script Adding cucumber stuff for integration testing. 2012-10-19 14:12:27 -03:00
spec Feature: ActiveJob Integration and Documentation (#817) 2017-09-11 09:35:14 -07:00
test Fix the indeterminate test issue. (#791) 2017-03-31 14:25:00 -05:00
.rspec Integration tests for all environments 2012-11-12 19:59:43 +00:00
Rakefile Adding cucumber stuff for integration testing. 2012-10-19 14:12:27 -03:00
config.ru Adding cucumber stuff for integration testing. 2012-10-19 14:12:27 -03:00