I have upgraded my rspec lately, then when I try to test I have this error:
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included automatically. Please
define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter
instead. (called from at
/home/dcaclab/RubymineProjects/coursebuilder/spec/models/country_spec.rb:5)
My country_spec.rb is:
describe Country do
pending "add some examples to (or delete) #{__FILE__}"
end
Shall I write it in another way?
I have this problem with all my models
Also, I have this error in a controller:
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included automatically. Please
define instance methods directly in RSpec::Rails::ViewRendering instead.
(called from at
/home/dcaclab/RubymineProjects/coursebuilder/spec/controllers/quiz_spec.rb:1)
line 1 just says:
describe QuizzesController do
Is this an issue? how to solve it?
Thanks
--
You received this message because you are subscribed to the Google Groups
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/rspec/-/AcWGRQv1WdMJ.
For more options, visit https://groups.google.com/groups/opt_out.