Sha256: 62c47fc91df04659f32dadc98e103edfb6a30bdbb66a67c72c6896b630b1b1ba
Contents?: true
Size: 626 Bytes
Versions: 20
Compression:
Stored size: 626 Bytes
Contents
require "spec_helper" describe Environment do before(:each) do @env = Environment.new(root.join "config.yml") @ary = ["app/scripts", "app/styles", "app/images", "app/views"] end it "should equals default path folder" do expect(@env.paths).to match @ary expect(@env.app_folder).to eq "app" expect(@env.test_folder).to eq "test" expect(@env.vendor_folder).to eq "vendor" expect(@env.public_folder).to eq "public" end it "should equals default config" do expect(@env.notification).to be true expect(@env.wrapper).to eq "cmd" expect(@env.groups).to respond_to(:each) end end
Version data entries
20 entries across 20 versions & 2 rubygems