Sha256: 623a6b0e44e27e09b5dfe0ac299036c6cc5eac6b0d176dcc417f94c19ca2a976
Contents?: true
Size: 635 Bytes
Versions: 2
Compression:
Stored size: 635 Bytes
Contents
require 'spec_helper' #require 'straightedge/extend/array' #require 'straightedge/ruler' #require 'straightedge/mark' #require 'straightedge/rose' #require 'straightedge/compass' #require 'straightedge/figure' #require 'straightedge/grid' #require 'straightedge/scene' #describe Straightedge::Scene do # let(:figures) do # [ Figure.new([[0,0]]) ] # end # # let(:grid) do # Grid.new([10,10]) # end # # subject { Scene.new(grid: grid, figures: figures) } # it 'should write figures to an adapter' do # adapter = double # expect(adapter).to receive(:draw).with(figures.first) # subject.render(adapter) # end #end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
straightedge-0.1.2 | spec/straightedge/scene_spec.rb |
straightedge-0.1.1 | spec/straightedge/scene_spec.rb |