rf-web/vendor/bundle/gems/mercenary-0.3.6/spec/program_spec.rb

20 lines
401 B
Ruby
Raw Normal View History

2019-10-21 08:18:17 +00:00
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