We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d503e88 commit 46a3f74Copy full SHA for 46a3f74
packages/forest_admin_datasource_customizer/spec/lib/forest_admin_datasource_customizer/plugins/plugin_spec.rb
@@ -0,0 +1,17 @@
1
+require 'spec_helper'
2
+
3
+module ForestAdminDatasourceCustomizer
4
+ module Plugins
5
+ describe Plugin do
6
+ let(:plugin) { described_class.new }
7
8
+ describe '#run' do
9
+ it 'raises NotImplementedError by default' do
10
+ expect do
11
+ plugin.run(DatasourceCustomizer.new)
12
+ end.to raise_error(NotImplementedError, /has not implemented method 'run'/)
13
+ end
14
15
16
17
+end
0 commit comments