Skip to content

fix failing api spec #1

@peterberkenbosch

Description

@peterberkenbosch

rspec ./spec/controllers/spree/api/subscriptions_controller_spec.rb:20 # Spree::Api::SubscriptionsController restricts access to subscriptions

1) Spree::Api::SubscriptionsController restricts access to subscriptions
     Failure/Error: api_get :show, id: @subscription.id
     ActionView::MissingTemplate:
       Missing template spree/api/errors/not_found with {:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :rabl], :versions=>[]}. Searched in:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions