Sha256: c7799975a580d87fcc8e08a9b85098813cf839ae2ef64500172ad04bed9b6831
Contents?: true
Size: 825 Bytes
Versions: 1
Compression:
Stored size: 825 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../../../../spec_helper") describe FreemarkerGenerator do before(:each) do @generator = FreemarkerGenerator.new("product", build_attributes) @generator.build end after(:each) do FileUtils.remove_dir("src") end it "should create index view" do File.exist?("src/main/webapp/WEB-INF/freemarker/product/index.ftl").should be_true end it "should create show view" do File.exist?("src/main/webapp/WEB-INF/freemarker/product/show.ftl").should be_true end it "should create new view" do File.exist?("src/main/webapp/WEB-INF/freemarker/product/newProduct.ftl").should be_true end it "should create edit view" do File.exist?("src/main/webapp/WEB-INF/freemarker/product/edit.ftl").should be_true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vraptor-scaffold-0.0.1.beta2 | spec/lib/generators/scaffold_generator/freemarker_generator/freemarker_generator_spec.rb |