Sha256: f1601f08dfcfec528ea89da201a187790738298079267819df9116faf65a7110

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe 'Notes' do

  context 'shortname' do
    specify do
      Dir.should_receive(:pwd).and_return('/path/to/notes-cli')
      Notes.shortname('/path/to/notes-cli/bin/notes').should == 'bin/notes'
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
notes-cli-2.0.1 spec/notes_spec.rb
notes-cli-2.0.0 spec/notes_spec.rb