Skip to content
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

Tang rufus add skip display none #218

Merged
merged 2 commits into from
Jan 24, 2016
Merged

Conversation

aaronvb
Copy link
Member

@aaronvb aaronvb commented Jan 22, 2016

Merged PR #174 and added tests.

Review on Reviewable

data-dom-id=\"#{id}\"></div>".squish
end

it { is_expected.to include react_definition_div_skip_display_none }
Copy link
Member

Choose a reason for hiding this comment

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

Need a test to verify that it's there in the normal case.

Copy link
Member Author

Choose a reason for hiding this comment

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

I believe the test above it should cover the normal case as it defaults to display: none, I didn't want to repeat the same line but I can add a test for default.

https://github.com/shakacode/react_on_rails/blob/TangRufus-add-skip-display-none/spec/dummy/spec/helpers/react_on_rails_helper_spec.rb#L50

@aaronvb aaronvb force-pushed the TangRufus-add-skip-display-none branch from feb4787 to 0a4ef31 Compare January 22, 2016 08:59
@tangrufus tangrufus mentioned this pull request Jan 22, 2016
@aaronvb aaronvb force-pushed the TangRufus-add-skip-display-none branch from 0a4ef31 to ce9d3b0 Compare January 23, 2016 12:18
@justin808
Copy link
Member

@aaronvb I didn't see the test the specifies the basic case that the display: none is included if the config value is false. Can you point me to it?


Reviewed 4 of 4 files at r1, 3 of 3 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from the review on Reviewable.io

@justin808
Copy link
Member

Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


spec/dummy/spec/helpers/react_on_rails_helper_spec.rb, line 79 [r2] (raw file):
we test if the option is true

we need a test if the option is false


Comments from the review on Reviewable.io

@aaronvb
Copy link
Member Author

aaronvb commented Jan 24, 2016

@justin808 Adding it now, will push in a few!

@aaronvb aaronvb force-pushed the TangRufus-add-skip-display-none branch from ce9d3b0 to 22f0815 Compare January 24, 2016 06:23
@aaronvb
Copy link
Member Author

aaronvb commented Jan 24, 2016

spec/dummy/spec/helpers/react_on_rails_helper_spec.rb, line 79 [r2] (raw file):
Updated tests to include if option is false.


Comments from the review on Reviewable.io

@justin808
Copy link
Member

:lgtm_strong:


Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


spec/dummy/spec/helpers/react_on_rails_helper_spec.rb, line 79 [r2] (raw file):
💯


Comments from the review on Reviewable.io

justin808 added a commit that referenced this pull request Jan 24, 2016
@justin808 justin808 merged commit 59ba367 into master Jan 24, 2016
@justin808
Copy link
Member

Thanks @aaronvb and @tangrufus. I'll do a release in a little bit.

@aaronvb
Copy link
Member Author

aaronvb commented Jan 24, 2016

@justin808 @tangrufus Good work, glad we got this PR finished!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants