Sha256: 571d67fd0edf9706388b2da44933b94ca9b8f8f873383ac1ba516c44af47e08e

Contents?: true

Size: 240 Bytes

Versions: 11

Compression:

Stored size: 240 Bytes

Contents

require 'spec_helper'

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

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ninja-model-0.6.2 spec/ninja_model_spec.rb
ninja-model-0.6.1 spec/ninja_model_spec.rb
ninja-model-0.6.0 spec/ninja_model_spec.rb
ninja-model-0.5.7 spec/ninja_model_spec.rb
ninja-model-0.5.6 spec/ninja_model_spec.rb
ninja-model-0.5.5 spec/ninja_model_spec.rb
ninja-model-0.5.4 spec/ninja_model_spec.rb
ninja-model-0.5.3 spec/ninja_model_spec.rb
ninja-model-0.5.2 spec/ninja_model_spec.rb
ninja-model-0.5.1 spec/ninja_model_spec.rb
ninja-model-0.4.2 spec/ninja_model_spec.rb