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__}"
endShall I write it in another way?
I have this problem with all my modelsAlso, 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 doIs 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 rspec+un...@googlegroups.com.
To post to this group, send email to rs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rspec/-/Sy0QUIeyNOkJ.
For more options, visit https://groups.google.com/groups/opt_out.