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.1.0 templates/spec.erb
octopolo-1.0.2 templates/spec.erb
octopolo-1.0.1 templates/spec.erb
octopolo-1.0.0 templates/spec.erb
octopolo-0.4.1 templates/spec.erb
octopolo-0.4.0 templates/spec.erb
octopolo-0.3.6 templates/spec.erb
octopolo-0.3.5 templates/spec.erb
octopolo-0.3.4 templates/spec.erb
octopolo-0.3.3 templates/spec.erb
octopolo-0.3.2 templates/spec.erb
octopolo-0.3.1 templates/spec.erb
octopolo-0.3.0 templates/spec.erb
octopolo-0.2.1 templates/spec.erb
octopolo-0.1.4 templates/spec.erb
octopolo-0.2.0 templates/spec.erb
octopolo-0.1.3 templates/spec.erb
octopolo-0.1.2 templates/spec.erb
octopolo-0.1.1 templates/spec.erb
octopolo-0.1.0 templates/spec.erb