Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
for release v0.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
hhorikawa committed Sep 24, 2017
1 parent 32b17ef commit 9d06c02
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
11 changes: 8 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# -*- coding: utf-8 -*-

require 'bundler/gem_tasks'
require 'rake/testtask'

Rake::TestTask.new do |t|
t.libs << 'lib/omniauth-openid-connect'
t.test_files = FileList['test/lib/omniauth/**/*_test.rb']
# デフォルトで'lib'は入っている.
#t.libs << 'lib/omniauth-openid-connect'
t.test_files = FileList['test/**/*_test.rb']
t.verbose = true
end
desc "Run tests"

task default: :test
# 単に rake コマンドでテスト実行.
task default: [:test]
14 changes: 4 additions & 10 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
# -*- coding:utf-8 -*-

require 'simplecov'

#require 'coveralls'
#Coveralls.wear!
#SimpleCov.command_name 'test'
SimpleCov.start # 最初に実行すること.

require 'minitest/autorun'
require 'mocha/mini_test'
require 'faker'
require 'active_support'
require_relative '../lib/omniauth-openid-connect'
require 'omniauth-openid-connect'
require_relative 'strategy_test_case'


OmniAuth.config.test_mode = true
OmniAuth.config.logger = Logger.new('/dev/null')

SimpleCov.command_name 'test'
SimpleCov.start
#Coveralls.wear!


0 comments on commit 9d06c02

Please sign in to comment.