similar to: Equivalent to before(:all) for StepGroups?

Displaying 20 results from an estimated 200 matches similar to: "Equivalent to before(:all) for StepGroups?"

2008 Jan 25
2
"undefined symbol" with wxRuby gem on Fedora Core 5...
I''m trying to test on platforms other than Windows, starting with my Fedora Core 5 box. I''m getting this error when trying to run the Hello World script (http://wxruby.rubyforge.org/wiki/wiki.pl?Hello_World): undefined symbol: gtk_widget_is_composited - /usr/local/lib/ruby/gems/1.8/gems/wxruby-1.9.4-x86- linux/lib/wxruby2.so (LoadError) This happens with both the
2008 Jan 19
5
No joy from Wx::App.dispatch, Wx::App.yield...
OK, back with another iteration of the same problem... I updated my game demo, but the Close button failed to respond when (and only when) there were too many objects onscreen. The drawing loop is probably lasting longer than my drawing timer interval. I was able to reproduce the problem in my (probably familiar by now) test script just by boosting the number of lines drawn per frame. After
2007 Dec 01
5
Tearing in my buffered animation test script...
OK, I have a basic blit demo working (thanks to Alex Fenton for his reply, which I finally saw). However, there''s a great deal of "tearing" on the screen - flickering grey lines in the black background. It looks like the blit isn''t always complete when the screen refreshes. Can anyone look at this and tell me what I might be doing wrong? Any help would be most
2007 Dec 30
4
Drawing thread not getting enough time from scheduler?
Need some assistance with animation again... When I run the drawing code in a separate thread, it''s slow as heck. I think it may be because the drawing thread isn''t getting enough time from the thread scheduler. I was able to reproduce the problem in my little sample program simply by increasing the number of lines it draws per update. I''m lucky to get one frame
2008 Jun 17
1
Confused - which is the correct Story API
Hi, I am confused (a normal state for me) about the State-Of-The-Art Story API to use. examples/calculator.rb has one syntax, the Blogs have another Syntax, so do the various tutorials. I realize that Stories are ongoing work, but it would be nice if there were something I could refer to to make sure that I am not using a syntax that will soon be deprecated, and that I am doing "what is
2008 Mar 13
22
Specifing methods in a steps_for block
Hey list, I''m refactoring some much-used functionality into a common_steps step group. Methods like this are in there: steps_for :common do Given "a number of existing $types?" do |type| @initial_item_count = type.singularize.classify.constantize.count end When "the user adds an invalid $type" do |type| post
2007 Dec 22
4
StepGroup ?
Hi, I have a need for the StepGroup feature in stories but not clear what''s the current api. Could you provide an example? In my case I have several scenarios which vary in the Givens, but not the results. Ideally I''m hoping to achieve something like: (but anything will do for now :) Scenario: one Given something When he does foo Then good things should happen
2007 Nov 15
3
How to Run Rails Stories
I have non non-plain-text story without any steps_for, can it be run? If so, how? Thanks, Nate
2008 Jan 16
1
session data and user stories
hello there, i have been trying my hand at this rbehave material, specifically in terms of integration testing a rails application, and i am curious about the most friendly way to deal with session data. currently, the only way i have found to simulate a session is to open a session and refer to everything afterward via the @session variable stored after open_session. it seems to be workable,
2002 Mar 15
0
Neverwinter Nights creature viewer problem
New on this list - bear with me if I put an unintentional foot in my mouth. Neverwinter Nights is a game that's coming out on both windows and linux (and the Mac). What is _not_ coming out for Linux is the toolset used to make new adventures and such. We are a lot of people that hope to be able to run the toolset under Wine, however. A couple of days ago, the developers released a
2007 Dec 31
4
How to run stories with `spec'' command?
Hi, all! I have a story steps array.rb and the story array.story. I can run it with ruby array.rb But when I execute spec array.rb nothing happened. I''m wondering how can I use spec command to execute stories? (executing examples is OK) Or maybe another question. If I have to run stories with `ruby'' command, how can I choose the output format? (I think there''s
2008 Jun 26
2
SPORE Createure Creator for Mac may be using Transgaming?
I noticed while backing up my MacBook's /Users after I bricked it is this: /Users/USERNAME/Library/Preferences/SPORE Creature Creator Preferences/wineserver-HOSTNAME.DNS.TLD-USERNAME then I noticed the SPORE Creature Creator also had dlls and other win32 stuff Am I crazy or SPORE Creature Creator for Mac is just normal Spore Creature Creator with Transgaming? PS. the bricking of my MacBook
2008 Jun 14
15
Reusing story snippets
I find myself doing this: Scenario "logged in user visiting the home page" do Given "A logged in user" do a_logged_in_user end When "..." Then "..." end The a_logged_in_user method is a helper method in helper.rb which sets up the state so that the user can browse the website. Later in the story of course, I can just do ''Given
2012 Nov 06
1
Confidence intervals for Sen slope in zyp-package
Hi, I have a question about the computation of confidence intervals in the zyp package, in particular using the functions zyp.sen and confint.zyp, or zyp.yuepilon. (1) I'm a bit confused about the confidence intervals given by zyp.sen and confint.zyp. When I request a certain confidence interval in the function, the R output seems to deliver another confidence interval, e.g. when I set
2007 Nov 15
5
What command to run all stories?
Hi, I''ve been following this thread and I can get the example stories to run with the ruby command. But I''ve been unable to get the example from http://blog.davidchelimsky.net/articles/2007/10/25/plain-text-stories-part-iii to run with all.rb ruby stories/all.rb /home/edh/story/stories/additions/steps/addition_steps.rb:2: undefined method `steps_for'' for main:Object
2013 Mar 22
1
Sen's slope - fume package different output than zyp or wq
Hello, I am trying to decide which package to use to calculate the non-parametric Sen's Slope for identifying trends in rainfall data (determine the slope between all pairs of points and take the median of those slopes). I have found three packages that output Sen's: "zyp", "wq" and "fume". The outputs of "zyp.sen()" and "mannKen()" from
2007 Apr 12
0
[LLVMdev] Compiler name: Nāga
On Apr 12, 2007, at 10:57 AM, Michael McCracken wrote: > Hi, the idea of a dragon theme reminded me of the dragon-like serpents > called "Nāga" from Cambodian mythology, among other places. naga.org already exists, though. We probably want to have the .org available. I like the dragon theme but most of the familiar dragon names are taken. The Hydra of Greek mythology was a
2007 Apr 26
3
FXSplitter width is 1 until created
Why is the width of an FXSplitter equal to 1 before the FXSplitter#create method is called? My splitter is configured to have LAYOUT_FILL_X, so wouldn''t its width be determined before its children were created? It''s not really a big deal, but I was configuring the split based on a preferences file during initialize, and couldn''t make it work properly. Doing it in
2006 Mar 29
4
Marketing Materials
The owner of my company just asked me for an Asterisk brochure. Has anyone seen such a creature? I know of some really informative websites, but I think a pdf would be priceless at this point. Thanks, Bob McDowell EMAIL PRIVELEGED & CONFIDENTIAL CLIENT COMMUNICATION    *** PRIVILEGED AND CONFIDENTIAL CLIENT COMMUNICATION *** This e-mail message and all attachments, if any, may
2007 Apr 16
2
32-bit vs 64-bit CentOS on 64-bit hardware
I was asked this question today and frankly, I didn't know the answer. So I thought I'd post it here.... If you don't need to access greater than 4GB RAM, is there any benefit to running the 64-bit version of CentOS vs the 32-bit one? That's assuming, of course, that the target machine utilizes a 64-bit capable processor. I hadn't seen any noticeable difference, but I