Sha256: f5453c1dec93791ddd06b503a5c7a63d3de7ae4cd81f9f39d1fa8101ae812266
Contents?: true
Size: 469 Bytes
Versions: 8
Compression:
Stored size: 469 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require 'adhearsion/generators' module Adhearsion describe Generators do describe "storing generator mappings" do let(:generator_key) { "example_gen" } it "adds a generator to the mappings and returns it" do DummyGenerator = Class.new Generators.add_generator generator_key, DummyGenerator expect(Generators.mappings[generator_key]).to eq(DummyGenerator) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems