Sha256: 9df133fb9c8a42730e27326f157dd5d7fc53a35412675bc4c9eb5ebe0899a97f
Contents?: true
Size: 568 Bytes
Versions: 21
Compression:
Stored size: 568 Bytes
Contents
require 'base_test' require 'mocha/setup' # 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 Methadone::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
21 entries across 21 versions & 2 rubygems