Sha256: 9f9f3d5648d9293005c96fc49ad0d296caf783dd70b83eeadd1625ddb3b0e704

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

describe(Mercenary::Program) do
  context "a basic program" do
    let(:program) { Mercenary::Program.new(:my_name) }

    it "can be created with just a name" do
      expect(program.name).to eql(:my_name)
    end

    it "can set its version" do
      version = Mercenary::VERSION
      program.version version
      expect(program.version).to eq(version)
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
mercenary-0.4.0 spec/program_spec.rb
pedrozath-mercenary-0.3.8 spec/program_spec.rb
pedrozath-mercenary-0.3.7 spec/program_spec.rb
pedrozath-mercenary-0.3.6 spec/program_spec.rb