Sha256: 7446a36c142ee682279ea1a599d082b2d716f2486a0b2879cb5846d38b1b8508

Contents?: true

Size: 335 Bytes

Versions: 23

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Azeroth::RequestHandler::Edit do
  describe '#process' do
    it_behaves_like 'a request handler' do
      let!(:document)         { create(:document) }
      let(:expected_resource) { document }
      let(:extra_params)      { { 'id' => document.id } }
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
azeroth-1.0.0 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.10.1 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.10.0 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.9.0 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.8.2 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.8.1 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.8.0 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.7.4 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.7.3 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.7.2 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.7.1 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.7.0 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.6.5 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.6.4 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.6.3 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.6.2 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.6.1 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.6.0 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.5.0 spec/lib/azeroth/request_handler/edit_spec.rb
azeroth-0.4.0 spec/lib/azeroth/request_handler/edit_spec.rb