Sha256: efa4fa0e1a2a46c206f182b045cddfef6272bef0b6eef613e25cc0aab0c73910
Contents?: true
Size: 448 Bytes
Versions: 1
Compression:
Stored size: 448 Bytes
Contents
require 'spec_helper' module Kangaroo describe 'Exception handling' do before :all do @config = Kangaroo::Util::Configuration.new 'spec/test_env/test.yml' @config.login Kangaroo::Util::Loader.new('res.partner', @config.database, 'ExceptionHandlingSpec').load! end it "catches missing methods" do lambda { @config.client.common.abcdef }.should raise_error(NoMethodError) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kangaroo-0.1.0.alpha1 | spec/functional/exception_handling_spec.rb |