suntech_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/javascripts/suntech_rails/application.js +13 -0
  6. data/app/assets/stylesheets/suntech_rails/application.css +15 -0
  7. data/app/controllers/suntech_rails/application_controller.rb +4 -0
  8. data/app/helpers/suntech_rails/suntech_rails_helper.rb +11 -0
  9. data/app/views/layouts/suntech_rails/application.html.erb +14 -0
  10. data/config/routes.rb +2 -0
  11. data/config/suntech.yml +12 -0
  12. data/lib/suntech_rails/core/config.rb +210 -0
  13. data/lib/suntech_rails/core/exceptions.rb +76 -0
  14. data/lib/suntech_rails/core/logging.rb +49 -0
  15. data/lib/suntech_rails/core/version.rb +5 -0
  16. data/lib/suntech_rails/engine.rb +10 -0
  17. data/lib/suntech_rails/payment/buysafe.rb +46 -0
  18. data/lib/suntech_rails_core.rb +28 -0
  19. data/lib/suntech_rails_payment.rb +8 -0
  20. data/lib/tasks/suntech_rails_tasks.rake +4 -0
  21. data/test/dummy/README.rdoc +28 -0
  22. data/test/dummy/Rakefile +6 -0
  23. data/test/dummy/app/assets/javascripts/application.js +13 -0
  24. data/test/dummy/app/assets/javascripts/buysafes.js +2 -0
  25. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  26. data/test/dummy/app/assets/stylesheets/buysafes.css +4 -0
  27. data/test/dummy/app/controllers/application_controller.rb +5 -0
  28. data/test/dummy/app/controllers/buysafes_controller.rb +18 -0
  29. data/test/dummy/app/helpers/application_helper.rb +2 -0
  30. data/test/dummy/app/helpers/buysafes_helper.rb +2 -0
  31. data/test/dummy/app/views/buysafes/show.html.erb +1 -0
  32. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  33. data/test/dummy/bin/bundle +3 -0
  34. data/test/dummy/bin/rails +4 -0
  35. data/test/dummy/bin/rake +4 -0
  36. data/test/dummy/bin/setup +29 -0
  37. data/test/dummy/config.ru +4 -0
  38. data/test/dummy/config/application.rb +26 -0
  39. data/test/dummy/config/boot.rb +5 -0
  40. data/test/dummy/config/database.yml +25 -0
  41. data/test/dummy/config/environment.rb +5 -0
  42. data/test/dummy/config/environments/development.rb +41 -0
  43. data/test/dummy/config/environments/production.rb +79 -0
  44. data/test/dummy/config/environments/test.rb +42 -0
  45. data/test/dummy/config/initializers/assets.rb +11 -0
  46. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  48. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  49. data/test/dummy/config/initializers/inflections.rb +16 -0
  50. data/test/dummy/config/initializers/mime_types.rb +4 -0
  51. data/test/dummy/config/initializers/session_store.rb +3 -0
  52. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  53. data/test/dummy/config/locales/en.yml +23 -0
  54. data/test/dummy/config/routes.rb +4 -0
  55. data/test/dummy/config/secrets.yml +22 -0
  56. data/test/dummy/config/suntech.yml +12 -0
  57. data/test/dummy/db/development.sqlite3 +0 -0
  58. data/test/dummy/db/test.sqlite3 +0 -0
  59. data/test/dummy/log/development.log +145 -0
  60. data/test/dummy/log/test.log +240 -0
  61. data/test/dummy/public/404.html +67 -0
  62. data/test/dummy/public/422.html +67 -0
  63. data/test/dummy/public/500.html +66 -0
  64. data/test/dummy/public/favicon.ico +0 -0
  65. data/test/dummy/test/controllers/buysafes_controller_test.rb +7 -0
  66. data/test/dummy/tmp/cache/sprockets/v3.0/08rTh6Ah0YZOj7lOmzBwFX6MyENphGlPlg6pnr2YJDw.cache +0 -0
  67. data/test/dummy/tmp/cache/sprockets/v3.0/4LkP2RT7AmBQjCAht7srZtGMmW2VMXJ0i1hp5z26wnM.cache +1 -0
  68. data/test/dummy/tmp/cache/sprockets/v3.0/4kRWKxifNQ-xtwaKOgE7Ued1jxhCuYV8JC8aPsUeoEo.cache +0 -0
  69. data/test/dummy/tmp/cache/sprockets/v3.0/55i7xZGHNL7d58DbdSB-heUfopfF0daewzkISaulbcg.cache +0 -0
  70. data/test/dummy/tmp/cache/sprockets/v3.0/5BJiDT0IO88A45bBo6_2hgtzvVIU4Wm7BWw9wmFWX5o.cache +0 -0
  71. data/test/dummy/tmp/cache/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  72. data/test/dummy/tmp/cache/sprockets/v3.0/6Hy_Sj7zUMme06k4qW1wEzwz75y6cHgFQs4Q1TaTa4I.cache +2 -0
  73. data/test/dummy/tmp/cache/sprockets/v3.0/996Rcuk-aHcwTh9cd4670ulUHb425lS91LujtTI4lwQ.cache +1 -0
  74. data/test/dummy/tmp/cache/sprockets/v3.0/9SBFNL1qC4LcOtEGqB3bB3x5Mnr9QvIcYsoA3Y2-sRs.cache +0 -0
  75. data/test/dummy/tmp/cache/sprockets/v3.0/Cl1B-FvSn9Ixi2izJ61iZypeU6zEwLwhcRh3smbEl2M.cache +1 -0
  76. data/test/dummy/tmp/cache/sprockets/v3.0/D0eiZrvgBF9ei4qTzd1THNuOb2gqdloxuc4s8JqQmT8.cache +1 -0
  77. data/test/dummy/tmp/cache/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +2 -0
  78. data/test/dummy/tmp/cache/sprockets/v3.0/DTRN9tlq1MVURJs-bRxlrn-ERsWQwoxjg0-1668K1s0.cache +1 -0
  79. data/test/dummy/tmp/cache/sprockets/v3.0/FDlRJLbXBq7e45MWXJuRY214dnrhhjIBd7w6EQT-sbM.cache +3 -0
  80. data/test/dummy/tmp/cache/sprockets/v3.0/FgNmVnSnkSCwall2jsOd_KJIPg7CKpR3C0smXYFGiyM.cache +1 -0
  81. data/test/dummy/tmp/cache/sprockets/v3.0/HQAes2K-dOTMSld5Ap-i4NoVrlcVwVmomdX8B7pPTmE.cache +2 -0
  82. data/test/dummy/tmp/cache/sprockets/v3.0/Hxf5ifXWKwavHYD0WajwxBrRvxsEA6rj0ZH3UwT4rsM.cache +1 -0
  83. data/test/dummy/tmp/cache/sprockets/v3.0/J5XL3lXnB3XTZv-G3LOl_XkrUGVxwXB2S3C7pKRH9Lo.cache +0 -0
  84. data/test/dummy/tmp/cache/sprockets/v3.0/KZoTbCpAVs5qWHxjecvcaymolV14u_yPnVdgjWfx71U.cache +2 -0
  85. data/test/dummy/tmp/cache/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
  86. data/test/dummy/tmp/cache/sprockets/v3.0/P881l9RCS4F9NxmnB0UjAQAN2mM3cO0jRuQXFAkgvM8.cache +2 -0
  87. data/test/dummy/tmp/cache/sprockets/v3.0/QravnHvqhyOB1yjRqTtVyZjL0-pnNZcepDbf1h6y39M.cache +2 -0
  88. data/test/dummy/tmp/cache/sprockets/v3.0/RaD_VWgi5iHWQ2U843gfYBOjDeyxKembej_3yVZUdCg.cache +1 -0
  89. data/test/dummy/tmp/cache/sprockets/v3.0/Y3WL9fJvPMIyL_Y5uHY8GjBC0HWEhYmdsi9pXZAEI8M.cache +3 -0
  90. data/test/dummy/tmp/cache/sprockets/v3.0/_DeVhvH73RLFdpLj2gr3NLAdVvXJFJpbjArMByqDaHo.cache +1 -0
  91. data/test/dummy/tmp/cache/sprockets/v3.0/_GK5iXKPC1vJKKWIBje93dP_cuhT0kI4_ygDW4BijQM.cache +0 -0
  92. data/test/dummy/tmp/cache/sprockets/v3.0/amu6YjT5LlNxuJGx2ieR4ZeQwegfW9lOBG_tNnquIMY.cache +1 -0
  93. data/test/dummy/tmp/cache/sprockets/v3.0/cVJsfmABu_AJogfYTMLW7B7OedAvMbu91fXwBqulw60.cache +1 -0
  94. data/test/dummy/tmp/cache/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +2 -0
  95. data/test/dummy/tmp/cache/sprockets/v3.0/h4x4j1tr1EhdtlHNvBAJWeWiIxvdJtKjtaU5sJRHei4.cache +0 -0
  96. data/test/dummy/tmp/cache/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +2 -0
  97. data/test/dummy/tmp/cache/sprockets/v3.0/hl0DUISTd7rW0KZQk41i-DBi_5LoGb0L-I40lmvco4w.cache +1 -0
  98. data/test/dummy/tmp/cache/sprockets/v3.0/jRrGVp_ANmh7RSuJVrw0uprGAKeB2Jc-o3mHdNILtEY.cache +0 -0
  99. data/test/dummy/tmp/cache/sprockets/v3.0/k0-57UP5CRChoOnFMoThKPh25QN7RSqsyzVAZBueL9A.cache +0 -0
  100. data/test/dummy/tmp/cache/sprockets/v3.0/o-wlnhbjVzz4W_lRxHzjMyh-PPkCOUplbyJNtLZOnYE.cache +1 -0
  101. data/test/dummy/tmp/cache/sprockets/v3.0/pA3zfD4fxEI8qov5CPSMm8lfctNpKSVx9bqJnhs3PmE.cache +1 -0
  102. data/test/dummy/tmp/cache/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
  103. data/test/dummy/tmp/cache/sprockets/v3.0/uAsMZu9U74VcG9L1TIqV3vrj-t6DUutL2GfpwhHCIJk.cache +0 -0
  104. data/test/dummy/tmp/cache/sprockets/v3.0/uk049MYsQuuLH_ZxCd_oI_PvEA7w0XPSS7WE8zZk8t8.cache +0 -0
  105. data/test/dummy/tmp/cache/sprockets/v3.0/v7XWbBEJF4o69YuXw0Qf_0Y3grpgUQuXiNbOUO8b5cw.cache +1 -0
  106. data/test/dummy/tmp/cache/sprockets/v3.0/vHGE9peXPRPu2Vur2EpD9h9IDC12Kvm_Si_UO9ftLLQ.cache +1 -0
  107. data/test/dummy/tmp/cache/sprockets/v3.0/vgziwzRd1d05lkU8CZ8SXWhJckqG8KGqEqmL1r_V3Yw.cache +0 -0
  108. data/test/dummy/tmp/cache/sprockets/v3.0/w0Pv9LkPIAKrfdkfCL2cM-RCbMcGh1cm-jJPhfJd6mw.cache +2 -0
  109. data/test/dummy/tmp/cache/sprockets/v3.0/whceGEyKf6iFrWAKfa-IqpRxJcPXFH5Q96DMbnYHt7I.cache +1 -0
  110. data/test/dummy/tmp/cache/sprockets/v3.0/wjpTGdf2wwgWGq5Zw1DyLQZgQNFJviYk3odj8YR0ZTc.cache +2 -0
  111. data/test/dummy/tmp/cache/sprockets/v3.0/z26TnlwC02ZdVw9atwqmOaJ1-zdMNbEeLS_IL2KIkgg.cache +1 -0
  112. data/test/helpers/suntech_rails_helper_test.rb +27 -0
  113. data/test/integration/navigation_test.rb +10 -0
  114. data/test/lib/suntech_rails/payment/buysafe_test.rb +25 -0
  115. data/test/suntech_rails_core_test.rb +7 -0
  116. data/test/test_helper.rb +20 -0
  117. metadata +283 -0
@@ -0,0 +1,79 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like
20
+ # NGINX, varnish or squid.
21
+ # config.action_dispatch.rack_cache = true
22
+
23
+ # Disable serving static files from the `/public` folder by default since
24
+ # Apache or NGINX already handles this.
25
+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
+
27
+ # Compress JavaScripts and CSS.
28
+ config.assets.js_compressor = :uglifier
29
+ # config.assets.css_compressor = :sass
30
+
31
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
32
+ config.assets.compile = false
33
+
34
+ # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
+ # yet still be able to expire them through the digest params.
36
+ config.assets.digest = true
37
+
38
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
+
40
+ # Specifies the header that your server uses for sending files.
41
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43
+
44
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
+ # config.force_ssl = true
46
+
47
+ # Use the lowest log level to ensure availability of diagnostic information
48
+ # when problems arise.
49
+ config.log_level = :debug
50
+
51
+ # Prepend all log lines with the following tags.
52
+ # config.log_tags = [ :subdomain, :uuid ]
53
+
54
+ # Use a different logger for distributed setups.
55
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
+
57
+ # Use a different cache store in production.
58
+ # config.cache_store = :mem_cache_store
59
+
60
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
+ # config.action_controller.asset_host = 'http://assets.example.com'
62
+
63
+ # Ignore bad email addresses and do not raise email delivery errors.
64
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65
+ # config.action_mailer.raise_delivery_errors = false
66
+
67
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68
+ # the I18n.default_locale when a translation cannot be found).
69
+ config.i18n.fallbacks = true
70
+
71
+ # Send deprecation notices to registered listeners.
72
+ config.active_support.deprecation = :notify
73
+
74
+ # Use default logging formatter so that PID and timestamp are not suppressed.
75
+ config.log_formatter = ::Logger::Formatter.new
76
+
77
+ # Do not dump schema after migrations.
78
+ config.active_record.dump_schema_after_migration = false
79
+ end
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+ mount SuntechRails::Engine => "/suntech_rails"
3
+ resources :buysafes, only: :show
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: b22be5fa48298b5a0e16b3bf4e0941cdd5cf8df8f263f4a6d2195de137e169aa1c5a34c94c868e59ca57436980cd41ff094be2caacf3c5309919160de229e074
15
+
16
+ test:
17
+ secret_key_base: 5c740732b10d2df1856386c4e6624f67b75cf5b8a8b95dff09fe3138c50afaae13477635b2379cb1a15a945618b8d3eacb5807a5e4ac187c0c7ca03c714be212
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,12 @@
1
+ test: &default
2
+ web_atm_id: S1512089028
3
+ buy_safe_id: S1512089010
4
+ twentyfour_id: S1512089036
5
+ pay_code_id: S1512089000
6
+ ali_pay_id: S1512089001
7
+ transaction_code: Coool111
8
+ mode: sandbox
9
+ endpoint: https://test.esafe.com.tw/Service/Etopm.aspx
10
+
11
+ development:
12
+ <<: *default
File without changes
File without changes
@@ -0,0 +1,145 @@
1
+
2
+
3
+ Started GET "/buysafes/1" for ::1 at 2016-01-17 22:34:30 +0800
4
+
5
+ ActionController::RoutingError (No route matches [GET] "/buysafes/1"):
6
+ actionpack (4.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7
+ actionpack (4.2.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
8
+ railties (4.2.5) lib/rails/rack/logger.rb:38:in `call_app'
9
+ railties (4.2.5) lib/rails/rack/logger.rb:20:in `block in call'
10
+ activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
11
+ activesupport (4.2.5) lib/active_support/tagged_logging.rb:26:in `tagged'
12
+ activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `tagged'
13
+ railties (4.2.5) lib/rails/rack/logger.rb:20:in `call'
14
+ actionpack (4.2.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
15
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
16
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
17
+ activesupport (4.2.5) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
18
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
19
+ actionpack (4.2.5) lib/action_dispatch/middleware/static.rb:116:in `call'
20
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
21
+ railties (4.2.5) lib/rails/engine.rb:518:in `call'
22
+ railties (4.2.5) lib/rails/application.rb:165:in `call'
23
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
24
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
25
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
26
+ /Users/AlohaCC/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
27
+ /Users/AlohaCC/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
28
+ /Users/AlohaCC/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
29
+
30
+
31
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.3ms)
32
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (5.6ms)
33
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
34
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (186.5ms)
35
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (34.9ms)
36
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (631.7ms)
37
+
38
+
39
+ Started GET "/buysafes/1" for ::1 at 2016-01-17 22:36:24 +0800
40
+ Processing by BuysafesController#show as HTML
41
+ Parameters: {"id"=>"1"}
42
+ Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.0ms)
43
+
44
+ Errno::ENOENT (No such file or directory @ rb_sysopen - config/suntech.yml):
45
+ app/controllers/buysafes_controller.rb:16:in `new'
46
+ app/controllers/buysafes_controller.rb:16:in `show'
47
+
48
+
49
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (18.1ms)
50
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms)
51
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (24.7ms)
52
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (166.4ms)
53
+
54
+
55
+ Started GET "/buysafes/1" for ::1 at 2016-01-17 22:36:55 +0800
56
+ Processing by BuysafesController#show as HTML
57
+ Parameters: {"id"=>"1"}
58
+ Rendered buysafes/show.html.erb within layouts/application (54.7ms)
59
+ Completed 500 Internal Server Error in 235ms (ActiveRecord: 0.0ms)
60
+
61
+ ActionView::Template::Error (undefined method `build_post_form' for #<#<Class:0x007fb8a1f44578>:0x007fb8a1f3c1e8>):
62
+ 1: <%= build_post_form @buysafe_payment %>
63
+ app/views/buysafes/show.html.erb:1:in `_app_views_buysafes_show_html_erb___2661153445602890912_70215483897500'
64
+
65
+
66
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.5ms)
67
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms)
68
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.4ms)
69
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (79.1ms)
70
+
71
+
72
+ Started GET "/buysafes/1" for ::1 at 2016-01-17 22:37:19 +0800
73
+ Processing by BuysafesController#show as HTML
74
+ Parameters: {"id"=>"1"}
75
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
76
+
77
+ NameError (undefined local variable or method `hello' for #<BuysafesController:0x007fb8a1f3f370>):
78
+ app/controllers/buysafes_controller.rb:3:in `show'
79
+
80
+
81
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.7ms)
82
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.6ms)
83
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
84
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (148.1ms)
85
+
86
+
87
+ Started GET "/buysafes/1" for ::1 at 2016-01-17 22:37:31 +0800
88
+ Processing by BuysafesController#show as HTML
89
+ Parameters: {"id"=>"1"}
90
+ Rendered buysafes/show.html.erb within layouts/application (1.7ms)
91
+ Completed 200 OK in 648ms (Views: 647.8ms | ActiveRecord: 0.0ms)
92
+
93
+
94
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-17 22:37:32 +0800
95
+
96
+
97
+ Started GET "/assets/buysafes.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-17 22:37:32 +0800
98
+
99
+
100
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-17 22:37:32 +0800
101
+
102
+
103
+ Started GET "/assets/buysafes.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-17 22:37:32 +0800
104
+
105
+
106
+ Started GET "/" for ::1 at 2016-01-18 11:30:25 +0800
107
+ Processing by Rails::WelcomeController#index as HTML
108
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/railties-4.2.5/lib/rails/templates/rails/welcome/index.html.erb (0.8ms)
109
+ Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
110
+
111
+
112
+ Started GET "/api/v1/companies/1" for ::1 at 2016-01-18 11:32:43 +0800
113
+
114
+ ActionController::RoutingError (No route matches [GET] "/api/v1/companies/1"):
115
+ actionpack (4.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
116
+ actionpack (4.2.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
117
+ railties (4.2.5) lib/rails/rack/logger.rb:38:in `call_app'
118
+ railties (4.2.5) lib/rails/rack/logger.rb:20:in `block in call'
119
+ activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
120
+ activesupport (4.2.5) lib/active_support/tagged_logging.rb:26:in `tagged'
121
+ activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `tagged'
122
+ railties (4.2.5) lib/rails/rack/logger.rb:20:in `call'
123
+ actionpack (4.2.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
124
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
125
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
126
+ activesupport (4.2.5) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
127
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
128
+ actionpack (4.2.5) lib/action_dispatch/middleware/static.rb:116:in `call'
129
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
130
+ railties (4.2.5) lib/rails/engine.rb:518:in `call'
131
+ railties (4.2.5) lib/rails/application.rb:165:in `call'
132
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
133
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
134
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
135
+ /Users/AlohaCC/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
136
+ /Users/AlohaCC/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
137
+ /Users/AlohaCC/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
138
+
139
+
140
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
141
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms)
142
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms)
143
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (10.5ms)
144
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.4ms)
145
+ Rendered /Users/AlohaCC/.rvm/gems/ruby-2.2.2@suntech_rails/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (93.4ms)
@@ -0,0 +1,240 @@
1
+  (0.2ms) begin transaction
2
+ -------------------------------------------------------------
3
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
4
+ -------------------------------------------------------------
5
+  (0.2ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ ------------------------------------------------------------------------------
8
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
9
+ ------------------------------------------------------------------------------
10
+  (0.2ms) rollback transaction
11
+  (0.2ms) begin transaction
12
+ ---------------------------------
13
+ SuntechRailsTest: test_0001_truth
14
+ ---------------------------------
15
+  (0.2ms) rollback transaction
16
+  (0.4ms) begin transaction
17
+ ---------------------------------
18
+ SuntechRailsTest: test_0001_truth
19
+ ---------------------------------
20
+  (0.3ms) rollback transaction
21
+  (0.3ms) begin transaction
22
+ ------------------------------------------------------------------------------
23
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
24
+ ------------------------------------------------------------------------------
25
+  (0.1ms) rollback transaction
26
+  (0.3ms) begin transaction
27
+ -------------------------------------------------------------
28
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
29
+ -------------------------------------------------------------
30
+  (0.2ms) rollback transaction
31
+  (0.1ms) begin transaction
32
+ ------------------------------------------------------------------------------
33
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
34
+ ------------------------------------------------------------------------------
35
+  (0.1ms) rollback transaction
36
+  (0.1ms) begin transaction
37
+ ---------------------------------
38
+ SuntechRailsTest: test_0001_truth
39
+ ---------------------------------
40
+  (0.0ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+ -------------------------------------------------------------
43
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
44
+ -------------------------------------------------------------
45
+  (0.1ms) rollback transaction
46
+  (0.3ms) begin transaction
47
+ ---------------------------------
48
+ SuntechRailsTest: test_0001_truth
49
+ ---------------------------------
50
+  (0.1ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+ ------------------------------------------------------------------------------
53
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
54
+ ------------------------------------------------------------------------------
55
+  (0.2ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ -------------------------------------------------------------
58
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
59
+ -------------------------------------------------------------
60
+  (0.1ms) rollback transaction
61
+  (0.1ms) begin transaction
62
+ ------------------------------------------------------------
63
+ ApplicationHelperTest::buysafe builder: test_0001_build form
64
+ ------------------------------------------------------------
65
+  (0.1ms) rollback transaction
66
+  (0.1ms) begin transaction
67
+ ------------------------------------------------------------------------------
68
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
69
+ ------------------------------------------------------------------------------
70
+  (0.0ms) rollback transaction
71
+  (0.1ms) begin transaction
72
+ ---------------------------------
73
+ SuntechRailsTest: test_0001_truth
74
+ ---------------------------------
75
+  (0.1ms) rollback transaction
76
+  (0.2ms) begin transaction
77
+ ------------------------------------------------------------------------------
78
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
79
+ ------------------------------------------------------------------------------
80
+  (0.1ms) rollback transaction
81
+  (0.1ms) begin transaction
82
+ ---------------------------------
83
+ SuntechRailsTest: test_0001_truth
84
+ ---------------------------------
85
+  (0.5ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+ -------------------------------------------------------------
88
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
89
+ -------------------------------------------------------------
90
+  (0.1ms) rollback transaction
91
+  (0.2ms) begin transaction
92
+ -------------------------------------------------------------
93
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
94
+ -------------------------------------------------------------
95
+  (0.1ms) rollback transaction
96
+  (0.1ms) begin transaction
97
+ ---------------------------------
98
+ SuntechRailsTest: test_0001_truth
99
+ ---------------------------------
100
+  (0.1ms) rollback transaction
101
+  (0.1ms) begin transaction
102
+ ------------------------------------------------------------------------------
103
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
104
+ ------------------------------------------------------------------------------
105
+  (0.1ms) rollback transaction
106
+  (0.1ms) begin transaction
107
+ -------------------------------------------------------------
108
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
109
+ -------------------------------------------------------------
110
+  (0.1ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+ ------------------------------------------------------------------------------
113
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
114
+ ------------------------------------------------------------------------------
115
+  (0.1ms) rollback transaction
116
+  (0.1ms) begin transaction
117
+ ---------------------------------
118
+ SuntechRailsTest: test_0001_truth
119
+ ---------------------------------
120
+  (0.1ms) rollback transaction
121
+  (0.2ms) begin transaction
122
+ -------------------------------------------------------------
123
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
124
+ -------------------------------------------------------------
125
+  (0.1ms) rollback transaction
126
+  (0.1ms) begin transaction
127
+ ------------------------------------------------------------------------------
128
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
129
+ ------------------------------------------------------------------------------
130
+  (0.1ms) rollback transaction
131
+  (0.1ms) begin transaction
132
+ ---------------------------------
133
+ SuntechRailsTest: test_0001_truth
134
+ ---------------------------------
135
+  (0.1ms) rollback transaction
136
+  (0.6ms) begin transaction
137
+ ---------------------------------
138
+ SuntechRailsTest: test_0001_truth
139
+ ---------------------------------
140
+  (0.1ms) rollback transaction
141
+  (0.1ms) begin transaction
142
+ ------------------------------------------------------------------------------
143
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
144
+ ------------------------------------------------------------------------------
145
+  (0.4ms) rollback transaction
146
+  (0.1ms) begin transaction
147
+ -------------------------------------------------------------
148
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
149
+ -------------------------------------------------------------
150
+  (0.1ms) rollback transaction
151
+  (0.1ms) begin transaction
152
+ ---------------------------------
153
+ SuntechRailsTest: test_0001_truth
154
+ ---------------------------------
155
+  (0.1ms) rollback transaction
156
+  (0.1ms) begin transaction
157
+ -------------------------------------------------------------
158
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
159
+ -------------------------------------------------------------
160
+  (0.2ms) rollback transaction
161
+  (0.1ms) begin transaction
162
+ ------------------------------------------------------------------------------
163
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
164
+ ------------------------------------------------------------------------------
165
+  (0.1ms) rollback transaction
166
+  (0.2ms) begin transaction
167
+ -------------------------------------------------------------
168
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
169
+ -------------------------------------------------------------
170
+  (0.1ms) rollback transaction
171
+  (0.1ms) begin transaction
172
+ ------------------------------------------------------------------------------
173
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
174
+ ------------------------------------------------------------------------------
175
+  (0.1ms) rollback transaction
176
+  (0.1ms) begin transaction
177
+ ---------------------------------
178
+ SuntechRailsTest: test_0001_truth
179
+ ---------------------------------
180
+  (0.0ms) rollback transaction
181
+  (0.1ms) begin transaction
182
+ ------------------------------------------------------------------------------
183
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
184
+ ------------------------------------------------------------------------------
185
+  (0.1ms) rollback transaction
186
+  (0.2ms) begin transaction
187
+ -------------------------------------------------------------
188
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
189
+ -------------------------------------------------------------
190
+  (0.1ms) rollback transaction
191
+  (0.1ms) begin transaction
192
+ ---------------------------------
193
+ SuntechRailsTest: test_0001_truth
194
+ ---------------------------------
195
+  (0.1ms) rollback transaction
196
+  (0.1ms) begin transaction
197
+ -------------------------------------------------------------
198
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
199
+ -------------------------------------------------------------
200
+  (0.1ms) rollback transaction
201
+  (0.1ms) begin transaction
202
+ ------------------------------------------------------------------------------
203
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
204
+ ------------------------------------------------------------------------------
205
+  (0.1ms) rollback transaction
206
+  (0.1ms) begin transaction
207
+ ---------------------------------
208
+ SuntechRailsTest: test_0001_truth
209
+ ---------------------------------
210
+  (0.1ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+ ------------------------------------------------------------------------------
213
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
214
+ ------------------------------------------------------------------------------
215
+  (0.1ms) rollback transaction
216
+  (0.1ms) begin transaction
217
+ -------------------------------------------------------------
218
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
219
+ -------------------------------------------------------------
220
+  (0.1ms) rollback transaction
221
+  (0.1ms) begin transaction
222
+ ---------------------------------
223
+ SuntechRailsTest: test_0001_truth
224
+ ---------------------------------
225
+  (0.1ms) rollback transaction
226
+  (0.2ms) begin transaction
227
+ ------------------------------------------------------------------------------
228
+ SuntechRails::Payment::BuySafe::basic operation: test_0001_can new a instanace
229
+ ------------------------------------------------------------------------------
230
+  (12.6ms) rollback transaction
231
+  (0.2ms) begin transaction
232
+ -------------------------------------------------------------
233
+ SuntechRailsHelperTest::buysafe builder: test_0001_build form
234
+ -------------------------------------------------------------
235
+  (0.2ms) rollback transaction
236
+  (0.2ms) begin transaction
237
+ ---------------------------------
238
+ SuntechRailsTest: test_0001_truth
239
+ ---------------------------------
240
+  (0.1ms) rollback transaction