Sha256: d51a5aedc0ad7c1cbb62b59f06b6d32484d45cd4febde4e063864667fe3cbb6a

Contents?: true

Size: 315 Bytes

Versions: 19

Compression:

Stored size: 315 Bytes

Contents

require 'spec_helper'

describe NinjaModel do
  it { NinjaModel.should respond_to(:logger) }

  it 'should accept a logger' do
    orig_logger = NinjaModel.logger
    logger = mock('logger')
    NinjaModel.set_logger(logger)
    NinjaModel.logger.should eql(logger)
    NinjaModel.set_logger(orig_logger)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ninja-model-1.0.5 spec/lib/ninja_model_spec.rb
ninja-model-1.0.4 spec/lib/ninja_model_spec.rb
ninja-model-1.0.3 spec/lib/ninja_model_spec.rb
ninja-model-1.0.2 spec/lib/ninja_model_spec.rb
ninja-model-1.0.1 spec/lib/ninja_model_spec.rb
ninja-model-1.0.0 spec/lib/ninja_model_spec.rb
ninja-model-0.9.6 spec/lib/ninja_model_spec.rb
ninja-model-0.9.5 spec/lib/ninja_model_spec.rb
ninja-model-0.9.4 spec/lib/ninja_model_spec.rb
ninja-model-0.9.3 spec/lib/ninja_model_spec.rb
ninja-model-0.9.2 spec/lib/ninja_model_spec.rb
ninja-model-0.9.1 spec/lib/ninja_model_spec.rb
ninja-model-0.9.0 spec/lib/ninja_model_spec.rb
ninja-model-0.8.1 spec/ninja_model_spec.rb
ninja-model-0.8.0 spec/ninja_model_spec.rb
ninja-model-0.7.3 spec/ninja_model_spec.rb
ninja-model-0.7.2 spec/ninja_model_spec.rb
ninja-model-0.7.1 spec/ninja_model_spec.rb
ninja-model-0.7.0 spec/ninja_model_spec.rb