mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-10-03 23:47:26 +00:00
working from 'rake rspec' task
This commit is contained in:
+2
-2
@@ -105,7 +105,7 @@ task :no_color do
|
|||||||
end
|
end
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new(:spec) do |t|
|
RSpec::Core::RakeTask.new(:spec) do |t|
|
||||||
spec_path = File.join(CMOCK_ROOT, 'test')
|
spec_path = File.join(CMOCK_ROOT, 'test/spec')
|
||||||
t.pattern = spec_path + '/spec/*_spec.rb'
|
t.pattern = spec_path + '/*_spec.rb'
|
||||||
end
|
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'
|
require 'cmock_file_writer'
|
||||||
|
|
||||||
describe CMockFileWriter do
|
describe CMockFileWriter do
|
||||||
|
|||||||
Reference in New Issue
Block a user