On Tue, Jul 11, 2017 at 9:27 PM, Ralph Shnelvar <[email protected]> wrote:

> In a file named spec/spec_helper.rb I see
> # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
> 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
>
>   .
>   .
>   .
>
>   # rspec-mocks config goes here. You can use an alternate test double
>   # library (such as bogus or mocha) by changing the `mock_with` option
> here.
>   config.mock_with :rspec do |mocks|
>     # Enable only the newer, non-monkey-patching expect syntax.
>     # For more details, see:
>     #   - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-
> expectation-syntax/
>     mocks.syntax = :expect
>
>     # Prevents you from mocking or stubbing a method that does not exist
> on
>     # a real object. This is generally recommended.
>     mocks.verify_partial_doubles = true
>   end
>
> =end
> end
>
> What does the =begin/=end do?
>

it's a block comment.  Anything in between is commented.


>
> --
> 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/42aebbd0-5b85-4390-a46b-
> 9f4961316257%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/42aebbd0-5b85-4390-a46b-9f4961316257%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.herokuapp.com

-- 
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/CAJ8y7VcuD6KFzWtpbVCxjS94f%3D_KrC9JWNMPWneyBaLyWsk14g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to