summaryrefslogtreecommitdiff
path: root/spec/models/concerns/token_authenticatable_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-141-1/+4
|
* Allow users to seed the initial runner registration token using an ↵DJ Mountney2016-12-011-0/+7
| | | | | | | environment variable This is useful for when runner is bundled with gitlab, like in a kubernetes stack, and we want the runner to be able to register with gitlab as soon as they both come up.
* adds second batch of tests changed to active tenseactive-tense-test-coveragetiagonbotelho2016-08-091-1/+1
|
* Enable RSpec/NotToNot cop and auto-correct offensesrs-rubocop-nottonotRobert Speicher2016-05-241-2/+2
| | | | Also removes the note from the development/testing.md guide
* Enable Style/SpaceAroundKeyword cop and fix offensesRobert Speicher2016-05-231-1/+1
|
* Add method that persist ensured token in `TokenAuthenticatable`Grzegorz Bizon2015-12-231-6/+13
|
* Fix method that ensures authentication tokenGrzegorz Bizon2015-12-231-0/+4
| | | | | | Until now, `ensure_#{token_filed_name}` method didn't persist new token in database. This closes #4235.
* Make sure that token `ensure_*` method always returns a tokenGrzegorz Bizon2015-12-111-1/+8
|
* Add specs for `TokenAuthenticatable` concernGrzegorz Bizon2015-12-111-0/+50