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

Version Path
linner-hc-1.0.0 spec/linner/environment_spec.rb
linner-0.12.0 spec/linner/environment_spec.rb
linner-0.11.6 spec/linner/environment_spec.rb
linner-0.11.5 spec/linner/environment_spec.rb
linner-0.11.4 spec/linner/environment_spec.rb
linner-0.11.3 spec/linner/environment_spec.rb
linner-0.11.2 spec/linner/environment_spec.rb
linner-0.11.1 spec/linner/environment_spec.rb
linner-0.11.0 spec/linner/environment_spec.rb
linner-0.10.0 spec/linner/environment_spec.rb
linner-0.9.1 spec/linner/environment_spec.rb
linner-0.9.0 spec/linner/environment_spec.rb
linner-0.8.7 spec/linner/environment_spec.rb
linner-0.8.6 spec/linner/environment_spec.rb
linner-0.8.5 spec/linner/environment_spec.rb
linner-0.8.4 spec/linner/environment_spec.rb
linner-0.8.3 spec/linner/environment_spec.rb
linner-0.8.2 spec/linner/environment_spec.rb
linner-0.8.1 spec/linner/environment_spec.rb
linner-0.8.0 spec/linner/environment_spec.rb