Skip to content
This repository was archived by the owner on Jan 7, 2019. It is now read-only.

Conversation

cilim
Copy link
Contributor

@cilim cilim commented Oct 27, 2016

PR for issue #62

Currently there's one test failing in the controller authentication because of raising not specific errors in the Ruby SDK. Merge this PR after the Ruby SDK's error handling is properly refactored.

@cilim cilim self-assigned this Oct 27, 2016
@coveralls
Copy link

coveralls commented Oct 27, 2016

Coverage Status

Coverage decreased (-0.03%) to 97.219% when pulling e8d2ee8 on mc-basic-bearer-auth-from-ruby-62 into decbf60 on master.

@coveralls
Copy link

coveralls commented Oct 31, 2016

Coverage Status

Coverage decreased (-0.1%) to 97.123% when pulling 04aa5b7 on mc-basic-bearer-auth-from-ruby-62 into decbf60 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 97.09% when pulling 7befd54 on mc-basic-bearer-auth-from-ruby-62 into decbf60 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Oct 31, 2016

Coverage Status

Coverage decreased (-0.2%) to 97.09% when pulling 7befd54 on mc-basic-bearer-auth-from-ruby-62 into decbf60 on master.

@coveralls
Copy link

coveralls commented Nov 7, 2016

Coverage Status

Coverage decreased (-0.1%) to 97.507% when pulling 0fc20cf on mc-basic-bearer-auth-from-ruby-62 into d1c9a69 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 97.507% when pulling 0fc20cf on mc-basic-bearer-auth-from-ruby-62 into d1c9a69 on master.

@coveralls
Copy link

coveralls commented Nov 7, 2016

Coverage Status

Coverage decreased (-0.3%) to 97.297% when pulling 4adf937 on mc-basic-bearer-auth-from-ruby-62 into d1c9a69 on master.

@cilim cilim added the refactor label Nov 7, 2016
@coveralls
Copy link

coveralls commented Nov 7, 2016

Coverage Status

Coverage decreased (-0.08%) to 97.533% when pulling 6bda65f on mc-basic-bearer-auth-from-ruby-62 into d1c9a69 on master.

@cilim cilim assigned DamirSvrtan and unassigned cilim Nov 7, 2016
@cilim
Copy link
Contributor Author

cilim commented Nov 7, 2016

Pull request ready for review @DamirSvrtan :)

Gemfile Outdated

gem 'sqlite3', '~> 1.3'
gem 'sass-rails'
gem 'stormpath-sdk'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this as it should not be necessary.

def authenticate!
begin
AccountFromAccessToken.new(bearer_access_token).account
rescue *RESCUE_CLASSES
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a request spec called 'authentication_spec' where you ping the me route and you check to see if the errors raised from ControllerAuthentication get saved in the Controller. Failing specs first.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spec created @DamirSvrtan

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 97.533% when pulling ab2d8ab on mc-basic-bearer-auth-from-ruby-62 into d1c9a69 on master.

@coveralls
Copy link

coveralls commented Nov 10, 2016

Coverage Status

Coverage decreased (-0.1%) to 97.501% when pulling e146f24 on mc-basic-bearer-auth-from-ruby-62 into ec85ae7 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.007%) to 97.606% when pulling 1412ec8 on mc-basic-bearer-auth-from-ruby-62 into ec85ae7 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Nov 10, 2016

Coverage Status

Coverage decreased (-0.007%) to 97.606% when pulling 1412ec8 on mc-basic-bearer-auth-from-ruby-62 into ec85ae7 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.007%) to 97.607% when pulling 35603c0 on mc-basic-bearer-auth-from-ruby-62 into ec85ae7 on master.

@DamirSvrtan DamirSvrtan merged commit a7ae23d into master Nov 11, 2016
@cilim cilim removed the review pr label Nov 12, 2016
@cilim cilim deleted the mc-basic-bearer-auth-from-ruby-62 branch November 12, 2016 11:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants