Sha256: 8fb7798bcabdebe1092cf0485d9aa94b79dca263e7b0e6bfb52b2a501e1f1ab3
Contents?: true
Size: 497 Bytes
Versions: 15
Compression:
Stored size: 497 Bytes
Contents
require 'spec_helper' RSpec.describe :categories, :type => :api do endpoint 'categories/create' do test do payload { schema_example(:category) } it { should have_status(:created) } end end endpoint 'categories/products', focus: true do test do # it { should have_status(:ok) } # it { should be_like_schema_array } end test 'with an unexisting category' do url_params id: '0' it { should have_status(:not_found) } end end end
Version data entries
15 entries across 15 versions & 1 rubygems