Skip to content

Issue #277 Fix- coursewares chai-jquery test issue#298

Merged
QuincyLarson merged 1 commit intofreeCodeCamp:masterfrom
aldraco:coursewaresErr
Apr 15, 2015
Merged

Issue #277 Fix- coursewares chai-jquery test issue#298
QuincyLarson merged 1 commit intofreeCodeCamp:masterfrom
aldraco:coursewaresErr

Conversation

@aldraco
Copy link
Copy Markdown
Contributor

@aldraco aldraco commented Apr 6, 2015

Should address #277 : The tests were not catching correct color attrs for the CSS challenges.

Going forward - reason seems to be that jquery's .css() returns the computed value for colors - i.e. it's running the tests using rgb(255, 0, 0) instead of "red" or hex values. It's also very picky and does want the spaces after the commas - rgb(255,0,0) does not work. (The docs used to say that you can use strings/hex; they have since been corrected.)

http://api.jquery.com/css/#css1

I also changed another test that was looking for "monospace" as the font degradation, but the instructions said to use "Serif." (Specify how fonts should degrade)

I tested them on my computer and they seemed to work just fine.

@aldraco aldraco changed the title Issue #277 - coursewares chai-jquery test issue Issue #277 Fix- coursewares chai-jquery test issue Apr 7, 2015
@terakilobyte
Copy link
Copy Markdown
Contributor

LGTM

QuincyLarson pushed a commit that referenced this pull request Apr 15, 2015
Issue #277 Fix- coursewares chai-jquery test issue
@QuincyLarson QuincyLarson merged commit 255a6b4 into freeCodeCamp:master Apr 15, 2015
@QuincyLarson
Copy link
Copy Markdown
Contributor

Thanks, @aldraco! These look good!

@aldraco aldraco deleted the coursewaresErr branch April 24, 2015 19:54
ValeraS pushed a commit to ValeraS/freeCodeCamp that referenced this pull request Oct 12, 2018
Add vidoeUrl to responsive web design challenges.
ValeraS pushed a commit to ValeraS/freeCodeCamp that referenced this pull request Oct 12, 2018
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.

3 participants