Skip to content

Commit 5af764a

Browse files
author
Anna
committed
Added simplecov for test coverage, removed turn
1 parent 24c084c commit 5af764a

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ group :odbc do
3838
end
3939

4040
group :development do
41-
gem "turn"
4241
gem 'bcrypt-ruby', '~> 3.0.0'
4342
gem 'bench_press'
4443
gem 'mocha'
4544
gem 'minitest-spec-rails'
4645
gem 'nokogiri'
4746
gem 'rake', '~> 0.9.2'
4847
gem 'ruby-prof'
48+
gem 'simplecov'
4949
end
5050

test/cases/sqlserver_helper.rb

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
begin
2-
require 'turn'
3-
4-
Turn.config do |c|
5-
c.format = :pretty
6-
c.verbose = true
7-
end
8-
rescue LoadError
9-
end
10-
111
SQLSERVER_TEST_ROOT = File.expand_path(File.join(File.dirname(__FILE__),'..'))
122
SQLSERVER_ASSETS_ROOT = File.expand_path(File.join(SQLSERVER_TEST_ROOT,'assets'))
133
SQLSERVER_FIXTURES_ROOT = File.expand_path(File.join(SQLSERVER_TEST_ROOT,'fixtures'))
@@ -21,6 +11,9 @@
2111
require 'rubygems'
2212
require 'bundler'
2313
Bundler.setup
14+
require 'simplecov'
15+
SimpleCov.start
16+
2417
require 'mocha/api'
2518
require 'active_support/dependencies'
2619
require 'active_record'
@@ -30,7 +23,6 @@
3023
require 'minitest-spec-rails/init/mini_shoulda'
3124
require 'cases/helper'
3225
require 'models/topic'
33-
3426
GC.copy_on_write_friendly = true if GC.respond_to?(:copy_on_write_friendly?)
3527

3628
ActiveRecord::Migration.verbose = false

0 commit comments

Comments
 (0)