Sha256: ddd09cc1064f9217add28306786227f41d09e6093b8970368c82f9a19ddc4479

Contents?: true

Size: 401 Bytes

Versions: 7

Compression:

Stored size: 401 Bytes

Contents

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

7 entries across 7 versions & 1 rubygems

Version Path
mercenary-0.3.6 spec/program_spec.rb
mercenary-0.3.5 spec/program_spec.rb
mercenary-0.3.4 spec/program_spec.rb
mercenary-0.3.3 spec/program_spec.rb
mercenary-0.3.2 spec/program_spec.rb
mercenary-0.3.1 spec/program_spec.rb
mercenary-0.3.0 spec/program_spec.rb