Sha256: 32ad3a295c32b90267022d1f66127fab1961fd22fb4dad84f3a8172253a77801
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
require 'simplecov' SimpleCov.start require 'spec' require 'spec/autorun' require File.dirname(__FILE__) + '/../lib/vraptor-scaffold' def build_attributes [Attribute.new("name", "string"), Attribute.new("myFlag", "boolean")] end def mock_config_file file = YAML.load_file File.join( File.dirname(__FILE__), "resources", "vraptor-scaffold.properties") Configuration.stub!(:config).and_return(file) end def exists_and_identical?(source, created) c = File.open(created).read.gsub( /\r/m, "" ) c2 = File.open(source).read.gsub( /\r/m, "" ) c.should be == c2 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vraptor-scaffold-1.2.3 | spec/spec_helper.rb |