Sha256: 8ef10cca0d58f60c6643633032c0c52d2f75ef31ed3d637180b2868e1a7622ca

Contents?: true

Size: 443 Bytes

Versions: 6

Compression:

Stored size: 443 Bytes

Contents

require 'spec_helper'

describe Merb::Generators::MerbPluginGenerator do
  
  describe "templates" do
    
    before do
      @generator = Merb::Generators::MerbPluginGenerator.new('/tmp', {}, 'testing')
    end
    
    it_should_behave_like "named generator"

    it "should create a number of views"
    
    it "should render templates successfully" do
      lambda { @generator.render! }.should_not raise_error
    end
    
  end
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
merb-gen-1.1.3 spec/merb_plugin_spec.rb
merb-gen-1.1.2 spec/merb_plugin_spec.rb
merb-gen-1.1.1 spec/merb_plugin_spec.rb
merb-gen-1.1.0 spec/merb_plugin_spec.rb
merb-gen-1.1.0.rc1 spec/merb_plugin_spec.rb
merb-gen-1.1.0.pre spec/merb_plugin_spec.rb