Sha256: f3ba2a434218c2e51f749a97216aa578feb412d51178805170234d61900274ab
Contents?: true
Size: 849 Bytes
Versions: 3
Compression:
Stored size: 849 Bytes
Contents
# require 'logirel/initer' # require 'logirel/version' # require 'logirel/nuget' # require 'logirel/initer' # require 'construct' # require 'FileUtils' # describe Logirel::Initer, "when initilizing paths file" do # pending "too much of an integration test now" # before(:each) do # @tmp = "fs-" + rand().to_s # @tmp_bs = "buildscripts" # Dir.mkdir(@tmp) # @r = Logirel::Initer.new(@tmp, @tmp_bs) # @r.create_structure # @bs = File.join(@r.root_path, @r.buildscripts_path) # end # subject { @r } # after(:each) do # FileUtils.rm_rf(@tmp) while Dir.exists?(@tmp) # end # it "should be created" do # @r.init_paths_rb({ # :dir => "p_dir", # :ruby_key => "p_ruby_key", # :id => "p_id" # }) # File.exists?(File.join(@bs, "paths.rb")).should be_true # end # end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
logirel-0.0.15 | spec/filesystem/path_init_spec.rb |
logirel-0.0.14 | spec/filesystem/path_init_spec.rb |
logirel-0.0.8 | spec/filesystem/path_init_spec.rb |