Sha256: 7022ff75510cf83487ba085df0021b1a54c43694abb7a1b59f5840b8ffa767db
Contents?: true
Size: 878 Bytes
Versions: 28
Compression:
Stored size: 878 Bytes
Contents
require File.expand_path('../../spec_helper',__FILE__) include BrowserConfigHelper describe BrowseEverything::Driver::Base do subject { BrowseEverything::Driver::Base.new({}) } describe "simple properties" do its(:name) { should == 'Base' } its(:key) { should == 'base' } its(:icon) { should be_a(String) } its(:auth_link) { should be_empty } specify { should_not be_authorized } end context "#connect" do specify { subject.connect({},{}).should be_blank } end context "#contents" do specify { subject.contents('').should be_empty } end context "#details" do specify { subject.details('/path/to/foo.txt').should be_nil } end context "#link_for" do specify { subject.link_for('/path/to/foo.txt').should == ['/path/to/foo.txt', { file_name: 'foo.txt' }] } end end
Version data entries
28 entries across 28 versions & 1 rubygems