Closed (fixed)
Project:
Drupal.org BDD
Version:
7.x-1.x-dev
Component:
Feature/Scenarios
Priority:
Normal
Category:
Support request
Assigned:
Issue tags:
Reporter:
Created:
24 Jul 2012 at 12:30 UTC
Updated:
19 Jul 2013 at 16:39 UTC
Jump to comment: Most recent file
Comments
Comment #1
kssundar commentedFeature created and needs review.
Attached is the patch file for the same
Comment #2
eliza411 commentedThis patch isn't applying for me.
I'll continue to investigate, as this may be error on my part and update when I have an idea why.
Comment #3
eliza411 commentedIt appears that the issue is caused by ^M at the end of several lines. This can be addressed either in your editor or in Git. I recommend adjusting the settings in your editor since on other projects, committers are less likely change their git setup.
There might be better resources on the topic, but http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carria... has some discussion. You'll need to research your particular editor to adjust the CRLF settings.
Comment #4
eliza411 commentedSetting to "needs work"
Comment #5
kssundar commentedAttached is the updated one with some code cleanup and space cleanup.
Comment #6
kssundar commentedComment #7
eliza411 commentedPlease review and re-open as needed.
Committed in:
http://drupalcode.org/project/doobie.git/commit/aa8589d5
Comment #8
kssundar commentedActually needs work.
Implement the step definition 'The md5 hash should match ""'
To compare the md5 hash of a file with the one provided in the above step definition, we have to store the md5 hash of the requested file temporarily. Can we use the "HackyDataRegistry" class to set and get variables?
Comment #9
eliza411 commentedThanks for re-opening. My understanding is that you should only need the HackyDataRegistry to pass a value between two different scenarios; otherwise, I believe it's best practice to locate the md5 hash earlier in the scenario and store it on the session object for use in a subsequent step.
I may, of course, be wrong,.
Comment #10
kssundar commentedAttached is the updated patch file.
Changes:
1. right_sidebar is now moved under 'layout'
2. implemented step definition to check the md5 hash of the project download
Comment #11
eliza411 commentedCommitted.
Comment #13
kssundar commentedI think this change is not committed. Could not find the required functions in the latest clone. Will roll out one more patch corresponding to the latest build.
Comment #14
kssundar commentedAttached is the updated patch. Please review and commit.
Comment #15
kssundar commentedChanging status
Comment #16
eliza411 commentedI think the commit for a53634834 may have caused this not to apply. I hope sdboyer will be able to lend me a hand in better managing the patch workflow. Let's bring this up tomorrow during our call (which I may be able to make).
Comment #17
kssundar commentedCommitted to repo and can be seen here - http://drupalcode.org/project/doobie.git/commit/5694888
Comment #18
kssundar commentedActually needs review.
Comment #19
jhedstromTests are currently failing, but I think it's because the git site currently has a 500 error at http://git6site.devdrupal.org/download, rather than anything wrong with this step definition.
Marking RTBC.
However, for future step-definitions (and many of the existing ones), check out the changes in commit f1ed2f5, where I cleaned up some of the comments to match the Drupal coding standards.
Comment #20
jhedstromMerged to master.
Comment #22
kssundar commentedNeed 7.x update
Comment #23
kssundar commentedAdded relevant tags - http://drupalcode.org/project/doobie.git/commit/c075fbb
Comment #24
eliza411 commentedLooks fine. Tests are still failing because of the broken site and might need update when D7 Drupal.org is ready for feedback.
Comment #25
eliza411 commentedUpdated to match D7.