Sha256: 0cb63cb665a4b5bd37f7f5e9dedc70e1f2c02718eff0e2fcdffe8066e62bfb52

Contents?: true

Size: 322 Bytes

Versions: 18

Compression:

Stored size: 322 Bytes

Contents

describe Pantograph::Actions::<%= plugin_name.pantograph_class %>Action do
  describe '#run' do
    it 'prints a message' do
      expect(Pantograph::UI).to receive(:message).with("The <%= plugin_name %> plugin is working!")

      Pantograph::Actions::<%= plugin_name.pantograph_class %>Action.run(nil)
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
pantograph-0.1.22 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.21 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.20 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.19 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.17 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.16 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.15 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.14 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.13 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.12 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.10 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.8 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.7 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.6 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.4 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.3 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.1 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb
pantograph-0.1.0 pantograph/lib/pantograph/plugins/template/spec/%plugin_name%_action_spec.rb.erb