Sha256: dc817888824b007e14c68780447e963c863eea2ea33e3914735537e5a35c043a
Contents?: true
Size: 284 Bytes
Versions: 1
Compression:
Stored size: 284 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Nestor::Machine do it "should accept a strategy on instantiation" do strategy = mock.as_null_object machine = Nestor::Machine.new(strategy) machine.strategy.should be_equal(strategy) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nestor-0.1.1 | spec/machine_spec.rb |