similar to: executing code after each step of a story

Displaying 20 results from an estimated 100 matches similar to: "executing code after each step of a story"

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
2006 Feb 27
2
Authentication
Hi, I'm working with the authentication setup in Icecast 2.3.1. I have authorizing live streams down, but I'm having issues with static files that I want to also serve. I attempted creating a specific mount with typical auth configuration for add/remove listener. Do I need the add/remove mount options. Can I specify a general mount point for a directory and then add mounts via add_mount
2008 Oct 06
10
Uninitialized constant Spec:Story
Hi, I''m fairly new to Rails and v. new to RSpec. Think it looks pretty useful and so I''m trying it out for the first time. I have installed the rspec-rails gem and created a simple plain text my_story file and my_story.rb file along the lines described here - http://www.tomtenthij.co.uk/2008/1/25/rspec-plain-text-story-runner-on-a-fresh-rails-app. When I run
2007 May 01
7
RSpec 0.9.1 released
The RSpec team is pleased to announce RSpec 0.9.1 (we skipped 0.9.0). RSpec is a framework that provides programmers with a Domain Specific Language to describe the behaviour of Ruby code with readable, executable examples that guide you in the design process and serve well as both documentation as tests. This release includes a complete overhaul of the API, which can be summarised as follows: *
2007 Sep 14
7
Posted this in "dev" last night but I''m not sure that anyone reads it
I''ve been using RSpec in anger for perhaps a total of a few days and just started playing with Story Runner. Love it. I also started working on a patch, which ought to be simple, to allow for Scenarios without supplied blocks to be treated as pending -- much like "it" in Spec::DSL::ExampleAPI. That said, I noticed something that seemed odd and chatted with Rein
2008 Mar 20
1
stories with selenium and the db
Hi all Tonight I wanted to test out selenium in a story to test some ajax stuff on a page. After struggling for an hour or two with disappearing database objects I found the solution in a blog post by Kerry Buckley. with the comment included it reads: # Don''t add an ActiveRecordSafetyListener, or it''ll roll stuff back class Spec::Story::Runner::ScenarioRunner def
2006 Mar 15
3
prototype.js Event.stopObserving
anyone have any information on how to effectively use this? Event.observe() doesn''t return anything, and nothing I''ve tried is actually removing the event listeners from the objects. -Jeremy -- Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob.
2008 May 08
7
Rspec Stories / Selenium Nightmare
I have been using Rspec stories with Webrat feeling very productive and happy. Then I needed to do something with Selenium (Webrat could have done what I needed but it does not yet have the functionality). Selenium-core as part of a rails plugin looked nice but did not seem to fit with rspec stories. So I went the Selenium-rc route. Since Selenium uses a separate instance of rails
2011 Jun 16
1
Need help with config file
Thank you for your time...we made some changes to our config file and the server doesn't want to start with the command icecast -c /path/to/icecast.xml giving the error: 'Could not create listener socket on port 8000 Server startup failed. Exiting' can you look at the config file bellow and let us know of any changes that might help. we need to be able to have 10,000 clients
2007 Dec 17
9
Rails 2.0.2: Some new defaults and a few fixes
Now that we have the big Rails 2.0 release out the door, it''s a lot easier to push out smaller updates more frequently. So that''s what we''re going to do. Rails 2.0.2 contains a bunch of smaller fixes to various bugs, no show-stopping action, just further polish. But it also contains a few new defaults:
2010 Sep 11
0
Rails 3 helper method not called
While I was trying to port one application from Rail 2 to Rails 3 I''ve noticed that helper methods used for rewriting URL paths are not called. Methods are defined in app/helpers/url_helper.rb: module UrlHelper def story_pah(story) "/story/#{story.title}" end end This method, when called inside of view instead of: story/1 creates path story/story_title. I order to
2006 Feb 28
0
Authentication
mtyler@grandecom.net wrote: > > Hi, > > I'm working with the authentication setup in Icecast 2.3.1. I have authorizing > live streams down, but I'm having issues with static files that I want to also > serve. you can specify listener auth for files, although the mechanism is fairly new so not all things apply to files yet. > I attempted creating a specific mount
2006 Jul 26
0
SAX Parsing and erb?
Hi, I''m trying to parse a XML document and put some of that information inside a rhtml file. I also have partials that I want to wrap around content in the XML stream. However, I don''t have any clue how to pass an object to the SAX2Listener so it can combine the partials and the XML together. Normally, in java I would pass the HttpResponse object or the PrintWriter
2014 Feb 12
61
P2V: Headless support
This introduces support to run P2V without X server. Runtime parameters are specified via kernel command line making it hopefully suitable for automated migration with a little help of PXE boot. Patchset is not squashed and represents dev. history.
2004 Nov 09
2
ssh login
sorry - hope this question is not tooo silly, but i needed to "autologin" to a remote machine found out that this works fine for me: sftp -opassword=PASSWORD USER at 192.168.1.1 << EOF cd ANYDIRECTORY get ANYFILE bye EOF why isn't this (sftp -opassword=SECRET USER at 192.168.1.1), setting the password with -opassword=PASSWORD, documentated anywhere? bug or feature? kind
2003 Mar 12
1
documentation project
Greetings from Brazil, I want to know if are there any Brazilians here which want to create a home page with documentation for people who wants to use SAMBA. I've just finished some projects here, and have documentated stuff which i want to share with other users. I want to know if it is possible to add a link in the samba.org home page for a possible site for Brasilians users. Waiting
2007 Jan 07
2
spacing before list continuations
According to the official Markdown syntax documentation, "List items may consist of multiple paragraphs. Each subsequent paragraph in a list item must be intended by either 4 spaces or one tab." But Markdown.pl (v. 1.0.2b7 & 1.0.1) seems to allow continuation paragraphs that are indented fewer than 4 spaces. So, for example, given the following input --------------------- 1. one
2009 Jun 25
1
Rd: pdf manual: package information not on first page
Hi everybody, currently I'm working on two packages, where I've included a <package-name>-package.Rd documentation file (with \docType set to "package") in each case. When I run "R CMD check" everything works fine, and a call to "R CMD install" generates the appropriate html, text and pdf documentation. While the package documentation (generated
2008 Jul 03
2
Icecast Fedora9 migration problems
Ok, First I want to start off with this isn't the first icecast I have cloned, but it is the first where I have not only jumped Fedora release versions, but arch types as well (i386 - x86_64) and I am having strange problems. The Icecast versions are the same between the old and new servers. The biggest being is that the server binds to whatever port it feels like instead of the bind port
2004 Jan 16
2
No subject
Hello! > Date: Thu, 15 Jan 2004 16:53:18 +0100 > From: Kirill Ponomarew <krion@FreeBSD.org> > > > freshly updated ports tree on a 4.9 box is exactly the same as a > > > freshly updated ports tree on a 5.2 box. > >=20 > > Read the users email. They're using specific tags, not "." so there are > > (or may be) some