Sha256: 983a1cacf36477f07161177092a9479eb69bca71cbeb38b07d88ad4c016c0a4e
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 Bytes
Contents
require 'base_test' require 'mocha/test_unit' # Define this symbol without requiring the library; # all we're going to do is mock calls to it module Open4 end module ExecutionStrategy class TestRBXOpen_4 < BaseTest include OptparsePlus::ExecutionStrategy test_that "exception_meaning_command_not_found returns Errno::EINVAL" do Given { @strategy = RBXOpen_4.new } When { @klass = @strategy.exception_meaning_command_not_found } Then { @klass.should == [Errno::EINVAL,Errno::ENOENT] } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
optparse-plus-3.0.1 | test/unit/execution_strategy/test_rbx_open_4.rb |
optparse-plus-3.0.0 | test/unit/execution_strategy/test_rbx_open_4.rb |