Sha256: 5923ee7b8bab2273180d6cb7e1c93c1b6e6f8fc32ad3b1f89ad87163c0343aca
Contents?: true
Size: 485 Bytes
Versions: 19
Compression:
Stored size: 485 Bytes
Contents
require 'spec_helper' describe Jasmine do it "should provide the root path" do File.stub(:dirname).and_return('lib/jasmine') File.should_receive(:expand_path) { |path| path } Jasmine.root.should == 'lib/jasmine' end it "should append passed file paths" do File.stub(:dirname).and_return('lib/jasmine') File.should_receive(:expand_path) { |path| path } Jasmine.root('subdir1', 'subdir2').should == File.join('lib/jasmine', 'subdir1', 'subdir2') end end
Version data entries
19 entries across 19 versions & 3 rubygems