similar to: Story runner "macros"

Displaying 20 results from an estimated 2000 matches similar to: "Story runner "macros""

2008 Jan 21
5
attachment_fu and story runner, any updates
I''m trying to write a story for a Rails app which involves using the attachment_fu plugin to upload images. After blunting my pick on this for a while, google found me this: http://www.ruby-forum.com/topic/134743#600831 So it seems that there''s a hole in Rails integration testing and multipart form posting. David offered to incorporate a patch to story runner at the end of the
2007 Dec 11
14
Attachment-fu + Story Runner
Hi all, I''m trying to run a Story Runner integration test that uploads a file through Attachment-fu. I''ve tried various ways of specifying the file data, from custom mocks: class MockFile < Struct.new (:original_filename, :read, :content_type); end fdata = MockFile.new "test_upload.txt", "Test Upload", "text/plain" to
2007 Sep 03
6
blog post on story runner
Here''s an excellent blog post on Story Runner, which will be part of the next release and is undergoing active development in trunk: http://evang.eli.st/blog/2007/9/1/user-stories-with-rspec-s-story-runner
2008 Mar 14
5
Branching scenarios, GivenScenario and database
I''m trying to use stories to drive some high-level design. I''ve got some branching scenarios where I want to follow a scenario, to establish a base situation, and then have different scenarios which ''branch'' out from that state, possibly several levels deep. I asked a bit about this a few days ago, and David pointed out the rather undocumented GivenScenario
2007 Sep 23
4
Story Runner, autoincrementing
I''ve written a story and I run into a snag. I''ve written the create_forum method and told it to set the id to 1 but when it creates the forum the id is autoincremented. My forums table is empty but the id keeps incrementing the newest record on creation. When I run the story it comes out as something like 59 which fails my story because I''m asking it to look at /forums/1
2007 Sep 20
10
Getting Started with Story Runner
I haven''t found any How To''s to use story runner and I''m not sure how to get started. Should I be looking for resources on how to use rbehave? How do I generate my first Story? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070920/07a80bc7/attachment.html
2008 Mar 11
2
Composed Stories/Scenarios
In using stories, I find myself wanting to build scenarios on top of each other, For example I want something like Scenario: The user logs on Given a And b When c And d Then e And f Scenario: The user changes his password Given the user logs on And g Then h In other words, I''d like to write the second scenario starting with the ''state'' produced by
2008 Mar 20
3
cleaning up after stories
do I have to manually clear out the database after a story runs? Seems like the data the story left is still in there. Joe
2008 Mar 05
14
ActiveRecord, spec''ing find has right :order parameter
I''m wanting to write a spec that a model is applying an :order option to a find call, but I don''t want to completely specify all of the find parameters. So I want to write something like this, say in a controller spec User.should_receive(:find).with(:all, hash_with_at_least(:order => ''user.name ASC'')) get ''index'', :sort =>
2007 Nov 30
4
Autotest''ing specs on non-rails app
I''m having trouble using autotest with rspec on a non-rails project. my Rspec gem is version 1.0.8, ZenTest is 3.6.2 project structure $ ls * lib: parser.rb spec: parser_spec.rb autotest finds and runs the spec, but it won''t detect changes to lib/parser.rb I know it''s something stupid, but... help? -- Rick DeNatale My blog on Ruby
2008 May 16
3
Which rspec for rails 2.1RC1?
I''m working on porting our app. Do I need to upgrade rspec from 1.1.3? If so which version. BTW the installation doc at http://rspec.info/documentation/rails/install.html seems to be stuck in the pre-git days. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/
2008 Jan 29
3
I thought the RSPec community might be interested
in my latest blog posting :http://talklikeaduck.denhaven2.com/articles/2008/01/29/why-i-dont-mind-using-rspec-in-fact-ive-come-to-love-it -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/
2006 May 15
3
Announcing the Silicon Valley Ruby on Rails Meetup Group
Hello, We''re organizing a meetup group for Silicon Valley Ruby on Rails engineers. If you''re in the Valley and interested in meeting with local Rails programmers, we would like to invite you to join the group. We haven''t set the date and time for our first meeting, but we''re hoping to have our first get together sometime in the next few weeks. To join,
2016 Jul 15
3
LLVM Social in Berlin, Germany
Appreciations for the initiative! There are some people in the Berlin C++ user group [1] who may be interested. Also there was an active compiler meetup group [3] a few years ago. As far as I know these guys mostly joined the Strange Group Berlin [2], but may still be interested in a more compiler-focused meetup. For the people cc'd: please let us know who'd like to participate in a LLVM
2009 Apr 26
9
Problems running features with Textmate Cucumber bundle
I finally plunked down for the beta RSpec bundle and I''m working through the initial example. Although I''m a fairly experienced RSpec user, I''m stlll learning new tricks. Anyway, I''m going though the mastermind example, and everything is going well, except that I decided to also try out the Textmate bundle for Cucumber. I decided to use Ben Mabey''s
2019 May 07
2
[NEW] LLVM / Clang Social in Chicago
So, there will be an LLVM Social in the Chicago area. We know what you now think, an LLVM Social in Chicagoland? Finally! If you are interested in showing up __ for the first meeting __, use the doodle [0] to indicate your preferred dates. Note that the weekend was chosen for the first meeting only. We expect to discuss future meeting details (times, locations, style, ...) at this first
2007 Dec 13
16
"Tricks" for testing after_create callback???
I''ve got a model Message, which needs to send an email using action mailer after it''s first saved in the database. I want to pass the model to the mailer which then uses methods on the message model to render the email. So the natural way to do this is in an after_create callback on the Message model. But I can''t see an easy way to test this. Here''s my spec
2018 May 31
1
Meetup/Social in India
I will as well be interested in attending the meetup (in Hyderabad). IMHO we can start with Meetup and select a city. How are Meetups expenses generally handled elsewhere ? Regards,Pankaj Date: Wed, 30 May 2018 14:59:21 +0530 From: Madhur Amilkanthwar via llvm-dev <llvm-dev at lists.llvm.org> To: Siddharth Bhat <siddu.druid at gmail.com> Cc: Siddharth Shankar Swain <h2015096 at
2009 May 24
11
Class method not being stubbed
Hi guys. I''m setting an expectation on a class method. For some reason, the method isn''t being stubbed, and the expectation isn''t seeing the call. In KeywordListsController#create, I call the private method #create_keywords_and_associate, which calls AdSenseHeavenParser#parse . Thus, some of my specs set an expectation on AdSenseHeavenParser#parse . However, that
2006 Jul 18
5
Ruby on rails local groups, everyone?
Hi , Just discover a interesting way to connect ror developers locallly. http://www.citycita.org let groups of people who share same interests to plan events and meet offline in local communities around the world. The service is quite new but it seem to have an ROR Oslo community that use it - http://rubyonrails.citycita.org/22498/. Worth a look ! -- Posted via http://www.ruby-forum.com/.