Sha256: b7d200e71a8076ea41afe45315390250a0faee496849f76a2f651ebec509681d

Contents?: true

Size: 258 Bytes

Versions: 5

Compression:

Stored size: 258 Bytes

Contents

require "assert"
require 'scmd'

class ScmdTest < Assert::Context
  desc "Scmd"
  subject { Scmd }

  should have_instance_method :new

  should "build a `Command` with the `new` method" do
    assert_kind_of Scmd::Command, subject.new('echo hi')
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scmd-2.1.1 test/unit/scmd_tests.rb
scmd-2.0.0 test/scmd_tests.rb
scmd-1.1.0 test/scmd_tests.rb
scmd-1.0.0 test/scmd_tests.rb
scmd-0.0.1 test/scmd_tests.rb