spec/inspector_spec.rb in guillaumegentil-rspactor-0.4.3 vs spec/inspector_spec.rb in guillaumegentil-rspactor-0.5.1
- old
+ new
@@ -1,9 +1,10 @@
require 'rspactor/inspector'
describe RSpactor::Inspector do
before(:all) do
- @inspector = described_class.new('/project')
+ options = { :view => true }
+ @inspector = described_class.new(mock('Runner', :dir => '/project', :options => options))
end
def translate(file)
@inspector.translate(file)
end
\ No newline at end of file