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-11.5.1 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-11.5.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-11.4.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-11.3.1 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-11.3.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-11.2.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-11.1.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-10.2.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-10.1.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-10.0.1 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.5.3 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.5.2 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.5.1 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.5.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.4.1 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.4.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.3.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.2.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.1.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb
ama_layout-9.0.0 spec/ama_layout/controllers/ama_layout/api/v1/notifications_controller_spec.rb