summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMatijs van Zuijlen <matijs@matijs.net>2020-03-22 12:58:42 +0100
committerMatijs van Zuijlen <matijs@matijs.net>2020-03-22 13:02:21 +0100
commit20d63ca783133f05865892ce172fe75a39c0a2fa (patch)
tree1ecb65e795a52c784a5a499a67f8aa617e75d4d3 /spec
parentef8602bf987a590451344a47eabdfda6135587f1 (diff)
downloadpry-20d63ca783133f05865892ce172fe75a39c0a2fa.tar.gz
Remove plugin system in favor of regular requires
Diffstat (limited to 'spec')
-rw-r--r--spec/cli_spec.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb
index 93625f79..39d6c7a2 100644
--- a/spec/cli_spec.rb
+++ b/spec/cli_spec.rb
@@ -41,21 +41,6 @@ RSpec.describe Pry::CLI do
end
end
- describe ".add_plugin_options" do
- it "returns self" do
- expect(described_class.add_plugin_options).to eq(described_class)
- end
-
- it "loads cli options of plugins" do
- plugin_mock = double
- expect(plugin_mock).to receive(:load_cli_options)
- plugins = { 'pry-testplugin' => plugin_mock }
- expect(Pry).to receive(:plugins).and_return(plugins)
-
- described_class.add_plugin_options
- end
- end
-
describe ".add_option_processor" do
it "returns self" do
expect(described_class.add_option_processor {}).to eq(described_class)