Sha256: af5fa4684a4e99d8362ee31ea3ea4d942ac0f078689614e2f38d04d430e3fd67

Contents?: true

Size: 359 Bytes

Versions: 37

Compression:

Stored size: 359 Bytes

Contents

require 'spec_helper'

describe Index::File::Basic do
  
  before(:each) do
    @file = Index::File::Basic.new "some/cache/path/to/file"
  end
  
  describe "backup_file_path_of" do
    it "returns a backup path relative to the path" do
      @file.backup_file_path_of('some/path/to/some.index').should == 'some/path/to/backup/some.index'
    end
  end
  
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
picky-1.4.1 spec/lib/index/file/basic_spec.rb
picky-1.4.0 spec/lib/index/file/basic_spec.rb
picky-1.3.4 spec/lib/index/file/basic_spec.rb
picky-1.3.3 spec/lib/index/file/basic_spec.rb
picky-1.3.2 spec/lib/index/file/basic_spec.rb
picky-1.3.1 spec/lib/index/file/basic_spec.rb
picky-1.3.0 spec/lib/index/file/basic_spec.rb
picky-1.2.4 spec/lib/index/file/basic_spec.rb
picky-1.2.3 spec/lib/index/file/basic_spec.rb
picky-1.2.2 spec/lib/index/file/basic_spec.rb
picky-1.2.1 spec/lib/index/file/basic_spec.rb
picky-1.2.0 spec/lib/index/file/basic_spec.rb
picky-1.1.7 spec/lib/index/file/basic_spec.rb
picky-1.1.6 spec/lib/index/file/basic_spec.rb
picky-1.1.5 spec/lib/index/file/basic_spec.rb
picky-1.1.4 spec/lib/index/file/basic_spec.rb
picky-1.1.3 spec/lib/index/file/basic_spec.rb
picky-1.1.2 spec/lib/index/file/basic_spec.rb
picky-1.1.1 spec/lib/index/file/basic_spec.rb
picky-1.1.0 spec/lib/index/file/basic_spec.rb