Re: [rspec-users] [ANN] Welcome Chad, Pat, Justin, and Myron!

2011-03-01 Thread Luke Melia
David > > [1] http://github.com/spicycode/micronaut > [2] http://github.com/myronmarston/vcr > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users -- Luke Melia http://www.lukemel

Re: [rspec-users] bypass db:test:prepare but still load test db

2011-05-23 Thread Luke Melia
Hi Charles. We do something like this at Weplay for the same reasons: https://gist.github.com/987543 Maybe that will help. Cheers, Luke -- Luke Melia http://www.lukemelia.com/ On Monday, May 23, 2011 at 4:12 PM, Charles Owen wrote: > I guess another option would be to create our own schema

Re: [rspec-users] bypass db:test:prepare but still load test db

2011-05-23 Thread Luke Melia
No problem. We have it in lib/tasks/databases.rake. Cheers, Luke -- Luke Melia http://www.lukemelia.com/ On Monday, May 23, 2011 at 4:52 PM, Charles Owen wrote: > Thanks, that is close to what I'm looking for. Where do I put the code > for this, in the rspec.rake or in a separate r

Re: [rspec-users] bypass db:test:prepare but still load test db

2011-05-23 Thread Luke Melia
Yeah, you may want to do this: remove_task "db:test:prepare" before you add the new definition of db:test:prepare. Then you can consider uncommenting the line you mentioned, or running rake db:test:prepare manually when you need it. -- Luke Melia http://www.lukemelia.com/ On Mond

Re: [rspec-users] rspec-2.9.0 is released!

2012-03-17 Thread Luke Melia
___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Cucumber - stub! or mock?

2008-09-30 Thread Luke Melia
ubbing for this scenario. Cheers, Luke -- Luke Melia [EMAIL PROTECTED] http://www.lukemelia.com/ ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Cucumber - stub! or mock?

2008-09-30 Thread Luke Melia
On Sep 30, 2008, at 10:55 AM, Luke Melia wrote: We need to stub time in some of our scenarios, which exist to to verify behavior over time. We're looking into a before/after to support mocking/stubbing for this scenario. Thanks for everyone's thoughts. I understand that

Re: [rspec-users] Webrat and submitting a form using an image

2008-10-04 Thread Luke Melia
c/api/clicks_button_spec.rb#L337 Are you seeing another behavior? Cheers from NYC, Luke -- Luke Melia [EMAIL PROTECTED] http://www.lukemelia.com/ ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Cucumber speed tips

2009-01-03 Thread Luke Melia
_test_user_id = cookies['integration_test_user'].to_i if integration_test_user_id != current_user.id reset_session self.current_user = User.find(integration_test_user_id) end cookies['integration_test_user'] = nil end -- Luke Melia l...@lukemelia.com http:

Re: [rspec-users] Cucumber speed tips

2009-01-03 Thread Luke Melia
without it. Luke -- Luke Melia l...@lukemelia.com http://www.lukemelia.com/ ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Cucumber speed tips

2009-01-03 Thread Luke Melia
uld the solution you're thinking of help with this? I'm not sure how you would "cache" a selenium session. -- Luke Melia l...@lukemelia.com http://www.lukemelia.com/ ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Cucumber speed tips

2009-01-05 Thread Luke Melia
river/browser instance running against the same server but with different session ids.) Is that not possible? Not that I know of, but now that you mention it, seems like it would be pretty cool. Anyone else on the list done this? -- Luke Melia l...@lukemelia.com http://www.lukemeli

Re: [rspec-users] [Cucumber] Progress Bar

2009-02-07 Thread Luke Melia
ttwynne.net http://www.songkick.com ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] [cucumber] Performance of 0.1.99?

2009-03-13 Thread Luke Melia
Has anyone noticed a slowdown in performance of their cucumber suite from 0.1 to 0.2alpha? I haven't ruled out something in our suite itself, but the slowdown appeared to occur concurrently with our upgrade to 0.2alpha. Cheers, Luke -- Luke Melia l...@lukemelia.com http://www.lukemeli

Re: [rspec-users] [cucumber] Performance of 0.1.99?

2009-03-14 Thread Luke Melia
On Mar 14, 2009, at 6:06 AM, aslak hellesoy wrote: On Sat, Mar 14, 2009 at 7:00 AM, Luke Melia wrote: Has anyone noticed a slowdown in performance of their cucumber suite from 0.1 to 0.2alpha? I haven't noticed anything. Do you want to create a benchmark? I just ran a subset o

Re: [rspec-users] [Cucumber] Welcome Ben Mabey to the official Cucumber team

2009-04-09 Thread Luke Melia
On Apr 7, 2009, at 5:19 PM, aslak hellesoy wrote: The core Cucumber team now consists of Joseph Wilk, Ben Mabey and myself. Welcome Ben! Great choice, great team. Thanks for all your hard work, gentlemen. -- Luke Melia l...@lukemelia.com http://www.lukemelia.com

[rspec-users] [Cucumber] Fail a scenario from After or AfterStep

2009-05-14 Thread Luke Melia
or AfterStep, how can I force a failure in the scenario? i.e. something like the following non-functional snippet: AfterStep do |scenario| if foo_error_state_detected? scenario.fail("A foo failure has been detected.") end end Ideas? TIA, Luke -- Luke Melia l...@lukemelia.com

Re: [rspec-users] [Cucumber] Fail a scenario from After or AfterStep

2009-05-15 Thread Luke Melia
black-box-testing, but I think it would be a net positive, at least for our app. Cheers, Luke -- Luke Melia l...@lukemelia.com http://www.lukemelia.com/ ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [Cucumber] Fail a scenario from After or AfterStep

2009-05-15 Thread Luke Melia
d because app raised a 50x error.") end end Here's the rack piece, for the curious: class RackErrorTouch def initialize(app, options = {}) @app = app @path = options[:path] end def call(env) rack_response = @app.call(env) if rack_response.first >= 500 `tou

Re: [rspec-users] [Cucumber] Fail a scenario from After or AfterStep

2009-05-15 Thread Luke Melia
ils integration suite, webrat enforces this particular invariant for me, but can't find a good hook in the selenium test stack to do this, which is why I'm looking at this route. Cheers, Luke -- Luke Melia l...@lukemelia.com http://www.lukemelia.com/

Re: [rspec-users] [Cucumber] Fail a scenario from After or AfterStep

2009-05-19 Thread Luke Melia
Any further thoughts on this, Aslak? I'd prefer to go with a solution in line with the future direction of Cucumber if possible. Cheers, Luke On May 15, 2009, at 5:12 PM, Luke Melia wrote: On May 15, 2009, at 3:36 PM, aslak hellesoy wrote: Thanks for doing that. I have one more favo

Re: [rspec-users] [Cucumber] Fail a scenario from After or AfterStep

2009-05-19 Thread Luke Melia
a whirl tonight. Cheers, Luke Aslak Cheers, Luke On May 15, 2009, at 5:12 PM, Luke Melia wrote: On May 15, 2009, at 3:36 PM, aslak hellesoy wrote: Thanks for doing that. I have one more favour to ask: Can you show me an example of a StepDefinition that would cause the file to be creat

Re: [rspec-users] [Cucumber] Fail a scenario from After or AfterStep

2009-05-19 Thread Luke Melia
On May 19, 2009, at 10:43 PM, Luke Melia wrote: On May 19, 2009, at 7:04 PM, aslak hellesoy wrote: I'm convinced. We'll add an AfterStep hook. Do you want to give a stab at a patch? Start by writing a feature - see features/after_block_exceptions.feature for a good example of th

Re: [rspec-users] Autotest setup to run Story Runner?

2008-08-22 Thread Luke Melia
out. Luke -- Luke Melia [EMAIL PROTECTED] http://www.lukemelia.com/ ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users