Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Newbie: Control flow of tests using 'define_method'
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Aldric Giacomoni, post: 4662715"] Wowzer. How about this? companyRRAccessToBeacon = {'company_id' => 'ID', 'ultimate_parent_id' => 'GlobalUltimateID' } And so on and so forth ? A little cleaner, a little easier to read, fewer repetitions. Where is your if statement? Maybe you mean this? recordtofetch = companydata['company_id'] unless companydata['company_id'].empty? Well, in your first test, you get a '1' back and you apparently expect a "QUO ". Anything else the errors can tell you that they can't tell us? Look into this and get back to us a little later.. The tests work, they're telling you that they fail :) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Newbie: Control flow of tests using 'define_method'
Top