Sha256: 0b78223a8185ee2c94492b3a82dab79126ace92a9c897a568bb1869c2273162e
Contents?: true
Size: 392 Bytes
Versions: 2
Compression:
Stored size: 392 Bytes
Contents
require 'spec_helper' class GridPresenter; end Straightedge.config.presenter_classes = { Grid => GridPresenter } describe Adapter do let(:director) { Director.new } subject { Adapter.new(agent: director) } it 'should find presenters' do expect(subject.presenter_for(Grid.new)).to be_a(GridPresenter) #expect(subject.presenter_for(Space.new)).to be_a(GridPresenter) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
straightedge-0.1.2 | spec/straightedge/adapter_spec.rb |
straightedge-0.1.1 | spec/straightedge/adapter_spec.rb |