Sha256: d57c0beb8b81f0a13be6582a241d30376779df84a82291c032f8b6a32ec5b39c
Contents?: true
Size: 563 Bytes
Versions: 6
Compression:
Stored size: 563 Bytes
Contents
require 'base_test' require 'mocha' # Define this symbol without requiring the library; # all we're goingn 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
6 entries across 6 versions & 1 rubygems