Sha256: 58e1bae8e332342054f92bb90a84bbad6c9c5932ced4d4682d43290e9ac74cf0

Contents?: true

Size: 630 Bytes

Versions: 42

Compression:

Stored size: 630 Bytes

Contents

require "spec_helper"
require_relative "../lib/octopolo/scripts/<%= class_file_name %>"

module Octopolo
  module Scripts
    describe <%= class_name %> do
      # stub any attributes in the config that you need
      let(:config) { stub(:config) }
      let(:cli) { stub(:cli) }

      subject { <%= class_name %>.new '' }

      before do
        subject.cli = cli
        subject.config = config
      end

      context "#parse" do
        pending "Test option parsing with `subject.parse(%w(--foo bar))` as necessary"
      end

      context "#execute" do
        pending
      end
    end
  end
end

# vim: set ft=ruby : #

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
octopolo-1.12.0 templates/spec.erb
octopolo-1.11.4 templates/spec.erb
octopolo-1.11.3 templates/spec.erb
octopolo-1.11.1 templates/spec.erb
octopolo-1.11.0 templates/spec.erb
octopolo-1.9.0 templates/spec.erb
octopolo-1.8.1 templates/spec.erb
octopolo-1.8.0 templates/spec.erb
octopolo-1.7.1 templates/spec.erb
octopolo-1.7.0 templates/spec.erb
octopolo-1.6.0 templates/spec.erb
octopolo-1.5.3 templates/spec.erb
octopolo-1.5.2 templates/spec.erb
octopolo-1.5.1 templates/spec.erb
octopolo-1.5.0 templates/spec.erb
octopolo-1.4.0 templates/spec.erb
octopolo-1.3.0 templates/spec.erb
octopolo-1.2.1 templates/spec.erb
octopolo-1.2.0 templates/spec.erb
octopolo-1.1.1 templates/spec.erb