Sha256: 1aa18aea0065a2313c849af7fceb881325e3134c530059dedb2c45fca6b23660
Contents?: true
Size: 649 Bytes
Versions: 19
Compression:
Stored size: 649 Bytes
Contents
# encoding: UTF-8 require 'gooddata/bricks/bricks' describe GoodData::Bricks::Brick do it "Has GoodData::Bricks::Brick class" do GoodData::Bricks::Brick.should_not == nil end describe '#version' do it 'Throws NotImplemented on base class' do brick = GoodData::Bricks::Brick.new expect do brick.version end.to raise_error(NotImplementedError) end end it "should be possible to execute custom brick" do class CustomBrick < GoodData::Bricks::Brick def call(params) puts 'hello' end end p = GoodData::Bricks::Pipeline.prepare([CustomBrick]) p.call({}) end end
Version data entries
19 entries across 19 versions & 1 rubygems