Sha256: 06c212c9cc12353a3398b678e5efd252235c2f15f1b1197d1e1a0e8d3cfcdf39

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

require 'spec_helper'

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

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

  its '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.0 spec/nyny_spec.rb
nyny-3.3.1 spec/nyny_spec.rb
nyny-3.3.0 spec/nyny_spec.rb