Sha256: 015920255da82e2f87d88a170d967c639f3b454dafe29c7ca824e0b28a8698ea

Contents?: true

Size: 585 Bytes

Versions: 11

Compression:

Stored size: 585 Bytes

Contents

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

describe "Base generation" do
  
  before(:each) do
  end
  
  after(:each) do
  end
  
  %w(Makefile History.txt README.txt Rakefile).each do |file|
    it "should generate the #{file}" do
      JqueryPluginGen::QuickTemplate.erb(file, details).should == generated_file(file)
    end
  end

  %w(src/email.js test/spec_email.js test/specs.html).each do |file|
    it "should transform the #{file}" do
      JqueryPluginGen::QuickTemplate.erb(file.gsub(/email/, 'plugin'), details).should == generated_file(file)
    end
  end
 
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jqueryplugingen-0.2.6 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.2.5 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.1.1 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.1.2 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.1.3 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.1.4 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.2.1 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.2.2 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.2.3 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.2.4 spec/jquery_plugin_gen_spec.rb
jqueryplugingen-0.2.0 spec/jquery_plugin_gen_spec.rb