Skip to content

History / Testing protected controllers

Revisions

  • Update controller doubling to specify instance_double and describe stubbing resource owner

    @getaaron getaaron committed Mar 21, 2020
  • Updated Testing protected controllers (markdown)

    @getaaron getaaron committed Mar 19, 2020
  • Updated Testing protected controllers (markdown)

    @getaaron getaaron committed Mar 19, 2020
  • Add RSpec request tests and minor typographical updates

    @getaaron getaaron committed Mar 19, 2020
  • Favor RSpec 3 syntax over RSpec 2 syntax since the last RSpec 2 release was over 4 years ago

    @trliner trliner committed Jan 8, 2019
  • Fix typo

    @rudylee rudylee committed Oct 23, 2017
  • Added a section for MiniTest

    Ryan Crispin Heneise committed May 9, 2017
  • fixed controller authorization to not user doorkeeper_for

    @dpassage dpassage committed Feb 3, 2015
  • accessible? should be acceptable? in Doorkeeper >= 1.4

    @ahegyi ahegyi committed Jan 7, 2015
  • Using :accessible? results in an error, with :acceptable? everything works

    jdno committed Oct 28, 2014
  • Add Rspec 3 versions of stubs (commented out), to avoid deprecation warnings

    @bdcravens bdcravens committed Jun 19, 2014
  • Fixed a small typo.

    @jerryhjones jerryhjones committed Jun 9, 2014
  • stub has been deprecated. Replaced with double.

    Anthony Smith committed Nov 22, 2013
  • Created Testing protected controllers (markdown)

    @felipeelias felipeelias committed Feb 5, 2012