Bring spree/api/taxons_controller_spec from spree_api, adapt it, transpec it and fix rubocop issues

This commit is contained in:
luisramos0
2019-07-19 10:16:32 +01:00
parent 2490cbfccb
commit c668677b8a
2 changed files with 132 additions and 4 deletions

View File

@@ -21,10 +21,6 @@ module Spree
respond_with(@taxon)
end
def jstree
show
end
def create
authorize! :create, Taxon
@taxon = Taxon.new(params[:taxon])