Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
imgarylai committed Nov 29, 2015
1 parent 80064ad commit ffee37c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
/tmp/
test/tmp/*
*.gem
coverage
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ source 'https://rubygems.org'

# Specify your gem's dependencies in active_merchant_pay2go.gemspec
gemspec

gem 'simplecov', :require => false, :group => :test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![Build Status](https://travis-ci.org/imgarylai/active_merchant_pay2go.svg?branch=master)](https://travis-ci.org/imgarylai/active_merchant_pay2go)
[![Code Climate](https://codeclimate.com/github/imgarylai/active_merchant_pay2go/badges/gpa.svg)](https://codeclimate.com/github/imgarylai/active_merchant_pay2go)
[![Test Coverage](https://codeclimate.com/github/imgarylai/active_merchant_pay2go/badges/coverage.svg)](https://codeclimate.com/github/imgarylai/active_merchant_pay2go/coverage)

# ActiveMerchantPay2go

Expand Down
3 changes: 3 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require 'simplecov'
SimpleCov.start

begin
require 'rubygems'
require 'bundler'
Expand Down
2 changes: 0 additions & 2 deletions test/unit/integrations/pay2go_helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ def test_check_value
OffsitePayments::Integrations::Pay2go.hash_iv = 'dzq1naf5t8HMmXIs'

@helper.encrypted_data

# HashKey=GADlNOKdHiTBjdgW6uAjngF9ItT6nCW4&Amt=200&MerchantID=123456&MerchantOrderNo=20140901001&TimeStamp=1403243286&Version=1.2&HashIV=dzq1naf5t8HMmXIs

assert_equal '6D68350DBA6CD9A0891129FF8C4070505509826D79104E95F9C815A8DD6B211B', @helper.fields['CheckValue']
end

Expand Down

0 comments on commit ffee37c

Please sign in to comment.