Sha256: 7856f7b07d3bd88cea6d0aef2b915a233597213a06a2c8a25eb82bcbd00f391b
Contents?: true
Size: 547 Bytes
Versions: 7
Compression:
Stored size: 547 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 } end end end
Version data entries
7 entries across 7 versions & 1 rubygems