Sha256: b1c912e50b17e4105f06c8f14d0668bd782d46ffa176dc92fefe386f7f46f734

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe Blueprints::RootNamespace do
  it "should allow building blueprints with regexp name" do
    namespace_regexp_blueprint
    Blueprints::Namespace.root.build(['namespace.regexp_blueprint'], stage)
    stage.instance_variable_get(:@namespace_regexp_blueprint).should == {:arg0 => "blueprint"}
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blueprints-1.0.1 spec/unit/root_namespace_spec.rb
blueprints-1.0.0 spec/unit/root_namespace_spec.rb