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
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
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
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
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
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
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
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
_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:
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
24 matches
Mail list logo