Sha256: 625d3c93611583a124149f96437b056b210c4f0037206c70a17c8f5b3a10f01a
Contents?: true
Size: 503 Bytes
Versions: 4
Compression:
Stored size: 503 Bytes
Contents
require 'spec_helper' require 'blazing/recipe' describe Blazing::Recipe do describe '.init_by_name' do before :each do class Blazing::Recipe::Dummy < Blazing::Recipe end end it 'initializes the correct recipe' do Blazing::Recipe.init_by_name(:dummy).should be_a Blazing::Recipe::Dummy end end describe '.list' do it 'retunrs an array of the available recipe classes' do Blazing::Recipe.list.first.should be Blazing::Recipe::Dummy end end end
Version data entries
4 entries across 4 versions & 1 rubygems