Skip to content

Commit

Permalink
Merge pull request #4 from CasperSleep/update-api-url
Browse files Browse the repository at this point in the history
Update production API URL
  • Loading branch information
alepore authored Jan 16, 2018
2 parents 06802a6 + af8bd68 commit 082ddd1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Performance/Count:
Style/RaiseArgs:
Enabled: false

Style/OpMethod:
Naming/BinaryOperatorParameterName:
Enabled: false

# We can use good judgement here
Expand Down
2 changes: 1 addition & 1 deletion app/models/solidus_paybright/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def test_redirect_url

attr_writer :live_redirect_url
def live_redirect_url
@live_redirect_url ||= "https://app.healthsmartfinancial.com/checkout/appform.aspx"
@live_redirect_url ||= "https://app.paybright.com/checkout/appform.aspx"
end

attr_writer :test_api_endpoint
Expand Down
10 changes: 4 additions & 6 deletions solidus_paybright.gemspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# encoding: UTF-8

$:.push File.expand_path('../lib', __FILE__)
require 'solidus_paybright/version'

Expand All @@ -22,16 +20,16 @@ Gem::Specification.new do |s|
s.add_dependency 'typhoeus'

s.add_development_dependency 'capybara'
s.add_development_dependency 'poltergeist'
s.add_development_dependency 'coffee-rails'
s.add_development_dependency 'sass-rails'
s.add_development_dependency 'database_cleaner'
s.add_development_dependency 'factory_girl'
s.add_development_dependency 'mysql2'
s.add_development_dependency 'pg', '~> 0.21'
s.add_development_dependency 'poltergeist'
s.add_development_dependency 'rspec-rails'
s.add_development_dependency 'rubocop', '>= 0.38'
s.add_development_dependency 'rubocop-rspec', '1.4.0'
s.add_development_dependency 'sass-rails'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'sqlite3'
s.add_development_dependency 'mysql2'
s.add_development_dependency 'pg'
end
2 changes: 1 addition & 1 deletion spec/models/spree/payment_method/paybright_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
expect(
payment_method.redirect_url(payment)
).to start_with(
"https://app.healthsmartfinancial.com/checkout/appform.aspx?x_account_id=api-key&x_amount=110.00&x_currency=USD&"
"https://app.paybright.com/checkout/appform.aspx?x_account_id=api-key&x_amount=110.00&x_currency=USD&"
)
end
end
Expand Down

0 comments on commit 082ddd1

Please sign in to comment.