-
Notifications
You must be signed in to change notification settings - Fork 69
Admin organizations order #361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d: "identicon" | ||
} | ||
|
||
"https://www.gravatar.com/avatar/#{gravatar_id}.png?#{gravatar_options.to_param}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mean to do it now but these are the kind of things that I like to turn into a value object. And this will eventually reduce the amount of helpers. Just a thought worth sharing.
Hey sorry to chime in now. Can we instead use |
Hi @rewritten, if I'm not wrong to use |
Works for me
El El lun, 21 may 2018 a las 23:59, Marc Anguera Insa <
notifications@github.com> escribió:
… Hi @rewritten <https://github.com/rewritten>, if I'm not wrong to use
RSpec.describe is recommended by the RSpec team (
https://relishapp.com/rspec/rspec-core/v/3-0/docs/configuration/global-namespace-dsl)
and the official docs, so I'm +1 to move to this form, but I'd leave it for
a different PR, so the team can discuss about pros/cons, thoughts,
settings, ....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#361 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAdG3-xjdM5dCeTgm9K-glyIwkDjZlooks5t0ziygaJpZM4UFskx>
.
|
spec/spec_helper.rb
Outdated
@@ -67,15 +68,12 @@ | |||
# the seed, which is printed after each run. | |||
# --seed 1234 | |||
|
|||
puts "Randomized with seed #{config.seed}." | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this printed out by default now? I find it useful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes @enricostano, I saw it duplicated before:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weirdly enough I don't see it duplicated in develop
🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@enricostano maybe you have a global .rspec
with any kind of setting preventing this to be displayed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that I am aware of 😂
timeoverflow@timeoverflow:/var/www/timeoverflow$ ls ~/.rspec
ls: cannot access '/home/timeoverflow/.rspec': No such file or directory
timeoverflow@timeoverflow:/var/www/timeoverflow$ ls ./.rspec
ls: cannot access './.rspec': No such file or directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok @enricostano, it's my global .rspec
😂
[2.3.0] markets: ~/workspace/timeoverflow (develop)$ more ~/.rspec
--color
--order random
--format documentation
This is printed by default by RSpec
if you have config.order = "random"
, but this was removed here: 94c50fb. I'm going to put it back 😅
@markets @rewritten I created an issue to keep track of the RSpec scope thing #362 |
d: "identicon" | ||
} | ||
|
||
"https://www.gravatar.com/avatar/#{gravatar_id}.png?#{gravatar_options.to_param}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mean to do it now but these are the kind of things that I like to turn into a value object. And this will eventually reduce the amount of helpers. Just a thought worth sharing.
- remove empty helpers to avoid load unnecessary constants (can be added on demand easily) - add some tests for ApplicationHelper and GlyphHelper
…ec_helper.rb edits
…ss class in show_error_messages! helper
9b577ff
to
761c7ff
Compare
else | ||
'alert-info' | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deployed on https://staging.timeoverflow.org/ |
@sseerrggii tested it 🍏 |
Closes #360
EXTRA
Helpers cleanup:
avatar_url
helpershow_error_messages!(resource)
helper (possible regression introduce in d03726c)