Skip to content

Commit ca8f01e

Browse files
committed
Add request specs
1 parent 2e8a410 commit ca8f01e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# frozen_string_literal: true
2+
3+
require "spec_helper"
4+
require "solidus_admin/testing_support/shared_examples/moveable"
5+
6+
RSpec.describe "SolidusAdmin::ProductOptionTypesController", type: :request do
7+
it_behaves_like "requests: moveable" do
8+
let(:factory) { :product_option_type }
9+
let(:request_path) { solidus_admin.move_product_option_type_path(record, format: :js) }
10+
end
11+
end

0 commit comments

Comments
 (0)