You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2022. It is now read-only.
it"yields the new instance to the builder block"doexpect{ |block|
Arrthorizer::Rails::ControllerConfiguration.new(&block)}.toyield_with_args(an_instance_of(Arrthorizer::Rails::ControllerConfiguration))end
This is not entirely accurate. If we replace the constructor with a factory method, we can stub the result from new and have more control over what we're testing.
Currently, the tests say
This is not entirely accurate. If we replace the constructor with a factory method, we can stub the result from
newand have more control over what we're testing.