Sha256: 69ba3e4f525e9c5ba4fef88d4fa3c7566893a79b5ec70d8907da86b3f8a24b27

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 == Dir.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 == File.join(Dir.pwd, "foo")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nyny-3.2.2 spec/nyny_spec.rb
nyny-3.2.1 spec/nyny_spec.rb
nyny-3.2.0 spec/nyny_spec.rb