spec/spec_helper.rb in csv-import-analyzer-0.0.3 vs spec/spec_helper.rb in csv-import-analyzer-0.0.4
- old
+ new
@@ -1,7 +1,10 @@
require 'simplecov'
+# Must be ahead of requiring core library to start the code coverage.
SimpleCov.start
require 'csv-import-analyzer'
+
+# Path to sample files in the fixtures folder that are made available to all specs for testing
$sample_csv_path = "/home/avinash/Desktop/csv-import-analyzer/spec/fixtures/sample.csv"
$sample_ssv_path = "/home/avinash/Desktop/csv-import-analyzer/spec/fixtures/semicolon-sample.csv"
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.