spec/spec_helper.rb in merb-gen-0.9.8 vs spec/spec_helper.rb in merb-gen-0.9.9

- old
+ new

@@ -4,15 +4,17 @@ require 'spec' require 'merb-core' require 'merb-gen' require 'templater/spec/helpers' +Merb.disable(:initfile) + Spec::Runner.configure do |config| config.include Templater::Spec::Helpers end -shared_examples_for "named generator" do +describe "named generator", :shared => true do describe '#file_name' do it "should convert the name to snake case" do @generator.name = 'SomeMoreStuff' @@ -266,6 +268,6 @@ @generator.name = "test/monkey/project_pictures" @generator.base_path.should == "test/monkey" end end -end \ No newline at end of file +end