Module: AuthorizationHelpers::Controller
- Defined in:
- lib/spree/core/testing_support/authorization_helpers.rb
Instance Method Summary collapse
Instance Method Details
#stub_authorization! ⇒ Object
3 4 5 6 7 |
# File 'lib/spree/core/testing_support/authorization_helpers.rb', line 3 def before do controller.should_receive(:authorize!).twice.and_return(true) end end |