Skip to content

Commit

Permalink
add test coverage info
Browse files Browse the repository at this point in the history
  • Loading branch information
matfiz committed Oct 26, 2016
1 parent 848847e commit f35f3ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
Gemfile.lock
*.gem
*.gem
coverage
1 change: 1 addition & 0 deletions grape-order.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "pry"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "rack-test"
spec.add_development_dependency "rspec", "~> 2.9"
end
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'simplecov'
SimpleCov.start
require 'rspec'
require 'grape'
require 'grape-order'
require 'active_record'
require 'rack/test'


# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir['#{File.dirname(__FILE__)}/support/**/*.rb'].each {|f| require f}
Expand Down

0 comments on commit f35f3ad

Please sign in to comment.