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