なにやら怪しいメッセージ
[root77@localhost mytestapp]$ rake spec:views
**DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from block (2 levels) in <top (required)> at /home/root77/app/mytestapp/spec/views/blogs/index.html.erb_spec.rb:13)
.**
▼ try①
・ addind following gem to Gemfile. And do `bundle install` .
gem 'activeadmin'
: the result of try① was NG!!
so,
▼ try②
・ adding following config to config/environments/test.rb or development.rb
config.reload_classes_only_on_change = true
config.watchable_dirs[File.join(config.root, "app/admin")] = ["rb"]
: the result of try② was NG!!
so,
▼ try③
・ changing following description
#spec/views/blogs/index.html.erb_spec.rb
require 'spec_helper'
describe "blogs/index" do
・・・
end
: the result of try③ was OK!
1時間お疲れ様でした。!
0 件のコメント:
コメントを投稿