Sha256: 880f86777de6b722ebdc8cc6d421dd726b01264908e794fd18b784fc9376d204

Contents?: true

Size: 334 Bytes

Versions: 33

Compression:

Stored size: 334 Bytes

Contents

describe AmaLayout::Api::V1::NotificationsController, type: :controller do
  describe 'DELETE api/v1/notifications' do
    routes { AmaLayout::Engine.routes }

    before(:each) do
      delete :dismiss_all
    end

    it 'returns a 204 No Content status' do
      expect(response).to have_http_status(:no_content)
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
ama_layout-8.0.2 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-8.0.1 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-8.0.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-7.0.2 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-7.0.1 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-5.12.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-7.0.pre spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-5.11.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-6.10.0.pre spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-5.10.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-5.9.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-5.8.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-5.7.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb