rlmoser99 / ruby_rspec_TOP

A tutorial that I developed for students at The Odin Project to learn RSpec.

Home Page:https://github.com/TheOdinProject/ruby_testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using send in RSpec for private methods

rlmoser99 opened this issue · comments

If you have a method that could be private, but it is sending an outgoing command message and needs to be tested, should it be public to be easily tested or private and use send in RSpec to test?