speedflow-plugin-test 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fa094a332b4d9ab2f537463e305ad476c2cb085
4
- data.tar.gz: 72060d80d61c56da36677ff3b2f0eac470d5c764
3
+ metadata.gz: 38439d4b7e4e40a20bbf3dfdfdf2081f14d6bc61
4
+ data.tar.gz: 6bcfe81d7f4edcc89a6f2642f58d9cd85c837023
5
5
  SHA512:
6
- metadata.gz: ea5b16c020eedc1779953588ac38ab7085597a18cb4497431d59bae4b8db205545a16d3ae5caaf4ca427900b779dfeb79297a761dd43bc0eec2293cad0ff2749
7
- data.tar.gz: 794fe929a64b8b1c539b4e6c358326033bd07a65dcb3b2a9aefee73a460a642f2663e6856cba79d1cf13de8fd9ea8cc7f68d7713b8ca71629bb7e15508ae15f7
6
+ metadata.gz: af8ffe4fbf5bf86edf3548c2863f7e1343a13e7df985ee327e21164a0cc16545bcb2f469fcbeab1f1d9e268ade45f98b822e9a9b29d375d0c372e4dd078ad5ea
7
+ data.tar.gz: 0ffd464644995588cfa4b3c13710df3de22ce089e102460db7060f620aaa74f38ed4a44271bd35dcc68a0f610544db770d5ea2e9afbcbff66dee26e4f9058a8c
@@ -25,10 +25,10 @@ module Speedflow
25
25
  @prompt = prompt
26
26
  end
27
27
 
28
- # Public: Method to test
28
+ # Public: Action to test
29
29
  #
30
30
  # Returns Hash of arguments.
31
- def test
31
+ def action_test
32
32
  @prompt.warn ' - Pong: test'
33
33
  @prompt.warn " Config: #{@config.all_config}"
34
34
  @prompt.warn " Input: #{@config.all_input}"
@@ -1,7 +1,7 @@
1
1
  module Speedflow
2
2
  module Plugin
3
3
  module Test
4
- VERSION = '0.3.2'.freeze
4
+ VERSION = '0.3.3'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -3,16 +3,14 @@ require 'spec_helper'
3
3
  describe Speedflow::Plugin::Test::Plugin do
4
4
  let(:plugin) { ::Speedflow::Plugin::Test::Plugin.new(double, double) }
5
5
 
6
- it '.test' do
6
+ it '.action_test' do
7
7
  allow(plugin.prompt).to receive(:warn).with(' - Pong: test')
8
8
  allow(plugin.config).to receive(:all_config)
9
9
  allow(plugin.prompt).to receive(:warn)
10
10
  allow(plugin.config).to receive(:all_input).and_return(hello: 'world')
11
11
  allow(plugin.prompt).to receive(:warn)
12
12
 
13
- plugin.test
14
-
15
- expect(plugin.test)
13
+ expect(plugin.action_test)
16
14
  .to eq(hello: 'world')
17
15
  end
18
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: speedflow-plugin-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Breux