Title: Rspec =begin =end
I don't know if this is a Rails, Ruby, or Rspec question.
In a file named spec/spec_helper.rb I have
RSpec.configure do |config|
# The settings below are suggested to provide a good initial experience
# with RSpec, but feel free to customize to your heart's content.
=begin
# These two settings work together to allow you to limit a spec run
# to individual examples or groups you care about by tagging them with
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
# get run.
config.filter_run :focus
config.run_all_when_everything_filtered = true
. . .
# See https://stackoverflow.com/questions/38421853/why-is-my-rspec-not-loading-devisetestcontrollerhelpers
config.include Devise::Test::ControllerHelpers, :type => :controller
=end
What does the =begin and =end do? Is this new Ruby syntax? Rails preprocessing? Rspec preprocessing?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/msgid/rubyonrails-talk/1081148413.20170710145836%40dos32.com.
For more options, visit https://groups.google.com/d/optout.
- [Rails] Rspec =begin =end Ralph Shnelvar
- Re: [Rails] Rspec =begin =end Mugurel Chirica
- [Rails] Rspec =begin =end Ralph Shnelvar
- Re: [Rails] Rspec =begin =end Jim Ruther Nill

