working from 'rake rspec' task

This commit is contained in:
chrishonson
2012-05-11 15:40:07 -04:00
parent ad1a095fe1
commit dbb2bacabf
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -105,7 +105,7 @@ task :no_color do
end
RSpec::Core::RakeTask.new(:spec) do |t|
spec_path = File.join(CMOCK_ROOT, 'test')
t.pattern = spec_path + '/spec/*_spec.rb'
spec_path = File.join(CMOCK_ROOT, 'test/spec')
t.pattern = spec_path + '/*_spec.rb'
end
+2 -1
View File
@@ -1,4 +1,5 @@
# require 'spec_helper' #add this to execute tests from the spec directory
here = File.expand_path(File.dirname(__FILE__))
require "#{here}/spec_helper" #add this to execute tests from the spec directory
require 'cmock_file_writer'
describe CMockFileWriter do