mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-06-05 21:15:20 +00:00
working from 'rake rspec' task
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user