Sha256: 54d0323979365ac5f1466db030cebfca46a416bdba40d4cf7c394b5f8efd2cd7

Contents?: true

Size: 276 Bytes

Versions: 3

Compression:

Stored size: 276 Bytes

Contents

require 'spec_helper'

describe NYNY do
  it 'root points to pwd' do
    NYNY.root.should == Pathname.pwd
  end

  it 'has the correct env' do
    NYNY.env.should be_test
  end

  it 'root can join a path' do
    NYNY.root.join("foo").should == Pathname.pwd + "foo"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nyny-3.4.3 spec/nyny_spec.rb
nyny-3.4.2 spec/nyny_spec.rb
nyny-3.4.1 spec/nyny_spec.rb