Sha256: 42e1142daf19fce179927d80e709b77713a7ed4bd0041ac4a27d9b6ac0977b0b
Contents?: true
Size: 932 Bytes
Versions: 1
Compression:
Stored size: 932 Bytes
Contents
require "spec_helper" describe Environment do before(:each) do @env = Environment.new(root.join "config.yml") end describe "convension" do it "should equals default path folder" do @env.app_folder.should == root.join("app").to_path @env.test_folder.should == root.join("test").to_path @env.vendor_folder.should == root.join("vendor").to_path @env.public_folder.should == root.join("public").to_path end it "should equals default config" do @env.notification.should be_true @env.wrapper.should == "CMD" @env.files.should respond_to(:each) end it "should equals default before and after" do @env.files.each do |file| file["copy"].should respond_to(:each) file["concat"].should respond_to(:each) file["order"]["before"].should respond_to(:each) file["order"]["after"].should respond_to(:each) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
linner-0.1.1 | spec/linner/environment_spec.rb |