spec/spec_helper.rb in tailor-0.1.5 vs spec/spec_helper.rb in tailor-1.0.0.alpha
- old
+ new
@@ -1,7 +1,9 @@
-$:.unshift(File.dirname(__FILE__) + '/../lib')
-require 'tailor'
-require 'rspec'
+require 'fakefs/spec_helpers'
+require 'simplecov'
-def create_file_line(string, line_number)
- FileLine.new(string, Pathname.new(__FILE__), line_number)
+SimpleCov.start
+
+RSpec.configure do |conf|
+ conf.include FakeFS::SpecHelpers
end
+