> You shouldn't have to clone and install rcov manually.
>
> Just do this:
>
> gem install spicycode-rcov --source http://gems.github.com
>
> It will install just like any other gem.
>
Except it didn't work for me, the rcov binary doesn't get installed or
is not defined properly. Is anyone el
Hi,
I'm working on update my local Cucumber to the latest version. But it seems
the old formatter APIs(step_failed, scenario_executed, etc.) don't work any
more. Are there some documents or even Cucumber source code I can refer to?
Thanks in advance,
Liu
__
Hey list,
I have a test server, which doesn't have cucumber as gem, so I
unpacked it into vendor/gems. After some fiddling with load paths, it
works.
However, the "binary" cucumber command won't run, since it needs the
cucumber gem. I tried adjusting that file to actually use the unpacked
API is Cucumber::Ast::Visitor. See cucumber/formatter/*.rb for examples
Den 13. feb.. 2009 kl. 08.45 skrev Yingnan Liu :
Hi,
I'm working on update my local Cucumber to the latest version. But
it seems the old formatter APIs(step_failed, scenario_executed,
etc.) don't work any more. Are t
Hello,
Are you trying to update an old formatter to the newest release? The old
formatter API has changed in the latest release.
At the moment the best place to look is the current formatters source code:
lib/cucumber/formatter/*
pretty_formatter.rb is a good start.
Another good place to lo
On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld wrote:
> Hey list,
>
> I have a test server, which doesn't have cucumber as gem, so I unpacked it
> into vendor/gems. After some fiddling with load paths, it works.
> However, the "binary" cucumber command won't run, since it needs the
> cucumber gem
Hi,
I'm really new to cucumber-testing. I want to use an HTTP Post in my
step-definitions using the post-method.
When I execute
response = post '/controller/action'
response is of type Fixnum and contains only the status code returned by
the post. In rspec it returns an HTTPResponse-insta
On 13 feb 2009, at 12:14, David Chelimsky wrote:
On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld > wrote:
Hey list,
I have a test server, which doesn't have cucumber as gem, so I
unpacked it
into vendor/gems. After some fiddling with load paths, it works.
However, the "binary" cucumber comm
I'm trying to write features for an SSL-only site, but I can't test
anything because every request in my stories results in a redirect
(the site is set up to redirect non-SSL requests to SSL).
In my _specs_ I hack around this problem with this nasty kludge in my
spec_helper:
module Acti
Githubs recent gem builder changes have caused some issues with
this. We are looking into it today in more detail. Pulling it down
and manually building should definitely work in the meantime.
--
Chad Humphries
spicycode
On Feb 13, 2009, at 4:01 AM, Fernando Perez wrote:
You shouldn't
On Fri, Feb 13, 2009 at 1:16 PM, Felix Elliger
wrote:
> Hi,
>
> I'm really new to cucumber-testing. I want to use an HTTP Post in my
> step-definitions using the post-method.
> When I execute
>
> response = post '/controller/action'
>
I'm guessing you're using Cucumber with Rails. Cucumber step
aslak hellesoy schrieb:
On Fri, Feb 13, 2009 at 1:16 PM, Felix Elliger
wrote:
Hi,
I'm really new to cucumber-testing. I want to use an HTTP Post in my
step-definitions using the post-method.
When I execute
response = post '/controller/action'
I'm guessing you're using Cucumber wi
On Fri, Feb 13, 2009 at 6:23 AM, Bart Zonneveld wrote:
>
> On 13 feb 2009, at 12:14, David Chelimsky wrote:
>
>> On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld
>> wrote:
>>>
>>> Hey list,
>>>
>>> I have a test server, which doesn't have cucumber as gem, so I unpacked
>>> it
>>> into vendor/gems.
Joseph Wilk wrote:
> I would highly recommend you take a look at Celerity
> (http://celerity.rubyforge.org/) as well.
Celerity (and Culerity) look great, but after trying for a half a day, I
could not get jruby to build, so could not install Celerity, so I am
back to Selenium.
I followed the in
On 12/02/2009, at 2:59 PM, David Chelimsky wrote:
On Feb 12, 2009, at 1:03 PM, Nick Hoffman wrote:
Does RSpec automatically call #valid? on ActiveRecord models?
For instance, when this example is run:
it 'should reject a nil value' do
@form = TimeShiftForm.new :file => nil
puts "@form.error
Wincent Colaiuta wrote:
> I'm trying to write features for an SSL-only site, but I can't test
> anything because every request in my stories results in a redirect
> (the site is set up to redirect non-SSL requests to SSL).
>
You could consider moving your spec_helper method into a separate
libra
On Feb 13, 2009, at 10:52 AM, Nick Hoffman wrote:
On 12/02/2009, at 2:59 PM, David Chelimsky wrote:
On Feb 12, 2009, at 1:03 PM, Nick Hoffman
wrote:
Does RSpec automatically call #valid? on ActiveRecord models?
For instance, when this example is run:
it 'should reject a nil value' do
@f
Thanks for the reply, James.
El 13/2/2009, a las 16:28, James Byrne escribió:
You could consider moving your spec_helper method into a separate
library module, put that in /lib and load it in
config/environments/test.rb.
Moving the hack from the spec_helper.rb file into a different file
un
Hi Jim,
Just want to say thanks for fixing this. It blocked me for a day
trying to figure out what broke. Any chance of trying to get this
pulled into david's branch as most tutorials reference his branch.
Cheers,
Matt
On Feb 1, 8:04 am, Jim Morris wrote:
> Jim Morris wrote:
> > Justin Smestad w
Yury Kotlyarov wrote:
it "should have form with input fields" do
render ...
response.should have_form(users_path) do
with_field_set 'Personal Information' do
with_text_field 'First name', 'user[first_name]'
...
end
end
end
The minor problem with that system is it forces your
On Fri, Feb 13, 2009 at 1:53 PM, Phlip wrote:
> Yury Kotlyarov wrote:
>
>> it "should have form with input fields" do
>> render ...
>> response.should have_form(users_path) do
>> with_field_set 'Personal Information' do
>> with_text_field 'First name', 'user[first_name]'
>> ...
>> en
deimos1986 wrote:
> Hi Jim,
> Just want to say thanks for fixing this. It blocked me for a day
> trying to figure out what broke. Any chance of trying to get this
> pulled into david's branch as most tutorials reference his branch.
>
> Cheers,
> Matt
It was Justin, I just benefited from his work.
Turns out I'm in the market for a new car ...
http://jalopnik.com/5151658/hyundai-genesis-coupe-r+spec-live
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
David Chelimsky wrote:
Turns out I'm in the market for a new car ...
http://jalopnik.com/5151658/hyundai-genesis-coupe-r+spec-live
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
LOL... I ex
A few of our tests attempt to test controllers with production-style
rescuing. Before the current rspec/Rails 2.2.2 combo, it was fairly easy to
set up for these tests:
it "should throw a 404 for strange actions" do
controller.use_rails_error_handling!
get :strange_action_name
response.shou
David Chelimsky wrote:
This looks pretty cool. I wonder if you'd have any interest in making
this a bit more rspec-friendly? Something like an option to run it
like this:
expect_xpath do
It's on my do-list, but...
...are pluggable matchers as hard to write as the OP implied? How would you fi
How do you spec protected controller methods such as before_filters and
helpers that with the params and session hashes?
I cannot call controller.my_method if my_method is protected.
> Try this:
>
> controller.andreplace("foo and bar").should eql("+foo +bar")
--
Posted via http://www.ruby-foru
On Fri, Feb 13, 2009 at 4:26 PM, Fernando Perez wrote:
> How do you spec protected controller methods such as before_filters and
> helpers that with the params and session hashes?
You spec the public interface that calls (or causes to be called) the
protected methods.
///ark
On 13/02/2009, at 7:26 PM, Fernando Perez wrote:
How do you spec protected controller methods such as before_filters
and
helpers that with the params and session hashes?
I cannot call controller.my_method if my_method is protected.
Try this:
controller.andreplace("foo and bar").should eql("
I need someone who can help me with Rspec. Ideally someone in the Los
Angeles area or else remotely via ichat.
I can afford to pay up to $50/hour for 16 hours of training.
Hopefully someone who's truly enthusiastic about sharing their knowledge
and not just for the money.
I'm not new to Ruby but
30 matches
Mail list logo