Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

making a few specs work properly under spec spec

  • Loading branch information...
commit 396548323dc07f85614524f575d10c42119cafd8 1 parent 99babd1
@rick authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/rake/dependencies.rake_spec.rb
View
8 spec/rake/dependencies.rake_spec.rb
@@ -2,7 +2,7 @@
require 'fileutils'
require 'rake'
-describe 'rake tasks to install dependencies' do
+describe 'rake tasks to setup for automated build' do
before :each do
Rake.application = @rake = Rake::Application.new
load File.expand_path(File.dirname(__FILE__) + '/../../tasks/dependencies.rake')
@@ -22,15 +22,15 @@
end
it 'should return true if the named path in our tree exists' do
- RakeInstall.is_installed?(__FILE__).should be_true
+ RakeInstall.is_installed?('spec/spec_helper.rb').should be_true
end
it 'should return false if the named path in our tree does not exist' do
- RakeInstall.is_installed?(__FILE__ + '-nonsensical.txt').should be_false
+ RakeInstall.is_installed?('spec/spec_helper-nonsensical.txt').should be_false
end
it 'should identify installed directories' do
- RakeInstall.is_installed?(File.dirname(__FILE__)).should be_true
+ RakeInstall.is_installed?('spec').should be_true
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.