Sha256: d220ed76ce430c8432af08b6736743fdfd86ce24364d4f9f39b4596d546c751c
Contents?: true
Size: 1.52 KB
Versions: 3
Compression:
Stored size: 1.52 KB
Contents
require 'coco' require 'fileutils' require_relative '../lib/columns' include Columns def fixtures_path File.expand_path(File.dirname(__FILE__) + '/fixtures')# {{{ end# }}} def schema_file file_path = File.expand_path(File.dirname(__FILE__) + '/fixtures/schema.rb')# {{{ File.read(file_path) end# }}} def user_rb_path File.expand_path(File.dirname(__FILE__) + '/fixtures/user.rb')# {{{ end# }}} def user_rb_file file_path = File.expand_path(File.dirname(__FILE__) + '/fixtures/user.rb')# {{{ File.read(file_path) end# }}} def user_cleaned_file file_path = File.expand_path(File.dirname(__FILE__) + '/fixtures/user_cleaned')# {{{ File.read(file_path) end# }}} def user_filled_file file_path = File.expand_path(File.dirname(__FILE__) + '/fixtures/user_filled')# {{{ File.read(file_path) end# }}} def integration_user_filled_file file_path = File.expand_path(File.dirname(__FILE__) +# {{{ '/fixtures/integration/user_filled') File.read(file_path) end# }}} def remove_user_rb file_path = File.expand_path(File.dirname(__FILE__) + '/fixtures/user.rb')# {{{ FileUtils.rm_f(file_path) end# }}} def create_user_rb src = File.expand_path(File.dirname(__FILE__) + '/fixtures/user_filled')# {{{ dest = File.expand_path(File.dirname(__FILE__) + '/fixtures/user.rb') FileUtils.cp(src, dest) end# }}} def create_clean_user_rb src = File.expand_path(File.dirname(__FILE__) + '/fixtures/user_cleaned')# {{{ dest = File.expand_path(File.dirname(__FILE__) + '/fixtures/user.rb') FileUtils.cp(src, dest) end# }}}
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
columns-0.2.0 | spec/spec_helper.rb |
columns-0.1.1 | spec/spec_helper.rb |
columns-0.1.0 | spec/spec_helper.rb |