File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 16
16
17
17
# Enable/disable caching. By default caching is disabled.
18
18
# Run rails dev:cache to toggle caching.
19
- if Rails . root . join ( "tmp/ caching-dev.txt" ) . exist?
19
+ if Rails . root . join ( "tmp" , " caching-dev.txt") . exist?
20
20
config . action_controller . perform_caching = true
21
21
22
22
config . cache_store = :memory_store
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ class BootstrapFormTest < ActionView::TestCase
352
352
end
353
353
354
354
test "allows to set custom default form attributes via configuration" do
355
- BootstrapForm . config . stubs ( :default_form_attributes ) . returns ( { foo : "bar" } )
355
+ BootstrapForm . config . stubs ( :default_form_attributes ) . returns ( foo : "bar" )
356
356
expected = <<-HTML . strip_heredoc
357
357
< form accept-charset ="UTF-8 " action ="/users " class ="new_user " foo ="bar " id ="new_user " method ="post ">
358
358
#{ '<input name="utf8" type="hidden" value="✓"/>' unless ::Rails ::VERSION ::STRING >= '6' }
You can’t perform that action at this time.
0 commit comments