Sha256: 867b4b5e44499b7043210334ab40fde7bdc05075509e0bba29af76824f1d1f5a

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 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
    @env.paths.should =~ @ary
    @env.app_folder.should == "app"
    @env.test_folder.should == "test"
    @env.vendor_folder.should == "vendor"
    @env.public_folder.should == "public"
  end

  it "should equals default config" do
    @env.notification.should be_true
    @env.wrapper.should == "cmd"
    @env.revision.should == false
    @env.groups.should respond_to(:each)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
linner-0.4.0 spec/linner/environment_spec.rb