browsing_spec.rb revision 3ed9f3432cfe7d1b8b52128c84a105a20b0e967f
require 'spec_helper'
describe 'Repository browsing' do
let(:user) { FactoryGirl.create :user }
}
end
before do
files.each do | path, content |
end
end
end
expect(repository.paths_starting_with('inroot')).to eq(['inroot1.clf', 'inroot1.clif', 'inroot2.clif'])
end
expect(repository.paths_starting_with('folder1/file')).to eq(['folder1/file1.clif', 'folder1/file2.clf'])
end
end
end
end
end
end
end