Sha256: 5d640ba15055c3a4c863a49488772990a93db478f69d31f025ec8f1a1ef41de7

Contents?: true

Size: 391 Bytes

Versions: 7

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Planter::Plant do
  Planter.accept_defaults = true
  Planter.base_dir = File.expand_path('spec')
  subject(:ruby_gem) { Planter::Plant.new('test', { project: 'Untitled', script: 'Script', title: 'Title' }) }

  describe '.new' do
    it 'makes a new instance' do
      expect(ruby_gem).to be_a described_class
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
planter-cli-3.0.7 spec/planter/plant_spec.rb
planter-cli-3.0.5 spec/planter/plant_spec.rb
planter-cli-3.0.4 spec/planter/plant_spec.rb
planter-cli-3.0.3 spec/planter/plant_spec.rb
planter-cli-3.0.2 spec/planter/plant_spec.rb
planter-cli-3.0.1 spec/planter/plant_spec.rb
planter-cli-0.0.4 spec/planter/plant_spec.rb