diff --git a/.gitignore b/.gitignore index b844b14..3043f50 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Gemfile.lock +coverage diff --git a/Gemfile b/Gemfile index cecbdf5..a7d712a 100644 --- a/Gemfile +++ b/Gemfile @@ -14,4 +14,5 @@ group :test do gem "fivemat" gem "aruba", "~> 0.4.11" gem "rspec", "~> 2.7" + gem "simplecov" end diff --git a/features/support/env.rb b/features/support/env.rb index 089772c..3352ebf 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -1,4 +1,6 @@ +require "simplecov" +SimpleCov.start PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__))) require "middleman-core" require "middleman-core/step_definitions" -require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-deploy') \ No newline at end of file +require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-deploy')