Sha256: f8882d9c2758dba04215c5044507c89e78f770244784bcb68ea5b3f9583a08d9
Contents?: true
Size: 537 Bytes
Versions: 2
Compression:
Stored size: 537 Bytes
Contents
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vraptor-scaffold-1.2.1 | spec/spec_helper.rb |
vraptor-scaffold-1.2.0 | spec/spec_helper.rb |