Sha256: 61d44646f4df43a582714c5c5f0feef05cc4a14ee305234394cbbe1ed46d2dcf
Contents?: true
Size: 793 Bytes
Versions: 3
Compression:
Stored size: 793 Bytes
Contents
require 'spec_helper' require 'repo_manager/views/view_helper' include RepoManager::ViewHelper describe RepoManager::ViewHelper do context ":repo_manager files" do before :each do @root = File.expand_path('../../../../', __FILE__) @file = File.join(@root, 'lib/repo_manager/app.rb') File.exists?(@file).should be_true end describe 'path_to :repo_manager "file asset"' do it "should return the absolute path of the given repo_manager file asset" do path_to(:repo_manager, 'lib/repo_manager/app.rb').should == @file end end describe 'path_to "file asset"' do it "should return the absolute path of the given repo_manager file asset" do path_to('lib/repo_manager/app.rb').should == @file end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
repo_manager-0.7.3 | spec/basic_app/views/view_helper_spec.rb |
repo_manager-0.7.2 | spec/basic_app/views/view_helper_spec.rb |
repo_manager-0.7.1 | spec/basic_app/views/view_helper_spec.rb |