this may help:
http://themomorohoax.com/2008/12/17/rails-2-3-tests
On Wed, Jan 7, 2009 at 12:29 AM, waseem ahmad wrote:
> Hi,
>
> I get this error when I do
>
> $spec /spec/any_spec
>
> /home/waseem/app/spec/spec_helper.rb:14: undefined method
> `use_transactional_fixtures=' for #
> (NoMeth
Hi,
I get this error when I do
$spec /spec/any_spec
/home/waseem/app/spec/spec_helper.rb:14: undefined method
`use_transactional_fixtures=' for #
(NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner.rb:184:in
`configure'
from /home/waseem/app/spec/spec_helper
I am trying to get the following test to pass, and get this error. Since I'm
only on day 4 of rspec, I'm sure I'm missing something simple. Any ideas?
## rake spec
'PatientsController GET 'new' should be successful' FAILED
expected success? to return true, got false
./spec/controllers/patients_co
On 6 Jan 2009, at 23:29, Ben Mabey wrote:
On 1/6/09 4:08 PM, Matt Wynne wrote:
Hi,
We're adding OAuth support for our API, and I paired with the guy
who's spiked it today to try and write some features to drive out
the behaviour we need.
It ended up getting quite tricky, so if you don't
On Tue, Jan 6, 2009 at 4:08 PM, James Byrne wrote:
> Zach Dennis wrote:
>>
>> Does your outputted HTML properly include a tbody in the table? If so
>> the selector you are using won't work. You would need to make match
>> any descendant rather than any direct child, ie: "table
>> tr#entity_id_1"
On 1/6/09 4:08 PM, Matt Wynne wrote:
Hi,
We're adding OAuth support for our API, and I paired with the guy
who's spiked it today to try and write some features to drive out the
behaviour we need.
It ended up getting quite tricky, so if you don't mind I'd like to
bounce my ideas of this list
Hi,
We're adding OAuth support for our API, and I paired with the guy
who's spiked it today to try and write some features to drive out the
behaviour we need.
It ended up getting quite tricky, so if you don't mind I'd like to
bounce my ideas of this list and see what you think.
The spik
Zach Dennis wrote:
>
> Does your outputted HTML properly include a tbody in the table? If so
> the selector you are using won't work. You would need to make match
> any descendant rather than any direct child, ie: "table
> tr#entity_id_1"
>
I cannot find one if there is.
> On a related note (a
On Tue, Jan 6, 2009 at 1:24 PM, David Chelimsky wrote:
>
> I'd refine that a bit: learn both and decide *when to apply each*.
>
> Choosing one style over the other limits your toolbox and consequently
> your ability to operate in different contexts.
True, and good point.
--
Have Fun,
Steve
On Jan 6, 2009, at 1:16 PM, Stephen Eley wrote:
On Tue, Jan 6, 2009 at 10:53 AM, Matt Darby
wrote:
I'm stumped. How would I go about specing the "update_sandbox"
method?
I couldn't hope to compete with David's answer when it comes to
specifics, but more generally, it occurs to me that your
On Tue, Jan 6, 2009 at 12:16 PM, Stephen Eley wrote:
> On Tue, Jan 6, 2009 at 10:53 AM, Matt Darby wrote:
>> I'm stumped. How would I go about specing the "update_sandbox" method?
>
> I couldn't hope to compete with David's answer when it comes to
> specifics, but more generally, it occurs to me
On Tue, Jan 6, 2009 at 10:53 AM, Matt Darby wrote:
> I'm stumped. How would I go about specing the "update_sandbox" method?
I couldn't hope to compete with David's answer when it comes to
specifics, but more generally, it occurs to me that your question is a
little imprecise and that could point
On Tue, Jan 6, 2009 at 10:41 AM, Matt Darby wrote:
> On Jan 6, 2009, at 11:27 AM, David Chelimsky wrote:
>
>> On Tue, Jan 6, 2009 at 9:53 AM, Matt Darby wrote:
>>>
>>> I'm stumped. How would I go about specing the "update_sandbox" method?
>>> # bids_controller:
>>> def new
>>> @bid = Bid.new
>
hello there,
I've added support to browse/run cucumber features to the app, check it out
in gist:
http://gist.github.com/43149
right now you can:
browse your spec/ and features/ directory
run specs and feature files living there.
it is only a .rb script to put into spec (or features) directory
I
On Jan 6, 2009, at 11:27 AM, David Chelimsky wrote:
On Tue, Jan 6, 2009 at 9:53 AM, Matt Darby
wrote:
I'm stumped. How would I go about specing the "update_sandbox"
method?
# bids_controller:
def new
@bid = Bid.new
respond_to do |wants|
wants.html { redirect_to job_bids_path(@j
On Tue, Jan 6, 2009 at 9:53 AM, Matt Darby wrote:
> I'm stumped. How would I go about specing the "update_sandbox" method?
> # bids_controller:
> def new
> @bid = Bid.new
>
> respond_to do |wants|
> wants.html { redirect_to job_bids_path(@job) }
> wants.js {
> update_
I'm stumped. How would I go about specing the "update_sandbox" method?
# bids_controller:
def new
@bid = Bid.new
respond_to do |wants|
wants.html { redirect_to job_bids_path(@job) }
wants.js {
update_sandbox do
render_to_string :partial => 'new', :locals =
On 6 Jan 2009, at 13:02, aslak hellesoy wrote:
On Tue, Jan 6, 2009 at 4:29 AM, Reza Primardiansyah > wrote:
Aslak,
The best time I get is 6.3 seconds. I'm using "time script/server"
command and hitting Ctrl-C immediately after I see "** Use CTRL-C to
stop."
Ok, so you have 5 seconds of
On Tue, Jan 6, 2009 at 4:29 AM, Reza Primardiansyah <
reza.primardians...@gmail.com> wrote:
> Aslak,
> The best time I get is 6.3 seconds. I'm using "time script/server" command
> and hitting Ctrl-C immediately after I see "** Use CTRL-C to stop."
>
Ok, so you have 5 seconds of additional overhea
On Tue, Jan 6, 2009 at 2:47 AM, Ivor Paul wrote:
> Hi Guys
>
> I am really having incredible issues with this error
>
> i...@theluggage:~/workspace/talkies$ rake db:migrate
> (in /home/ivor/workspace/talkies)
> /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:229:in
> `files_to_
Ivor Paul wrote:
Hi Guys
I am really having incredible issues with this error
i...@theluggage:~/workspace/talkies$ rake db:migrate
(in /home/ivor/workspace/talkies)
/usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:229:in
`files_to_load': File or directory not found: db:migra
Ivor Paul wrote:
Hi Guys
I am really having incredible issues with this error
i...@theluggage:~/workspace/talkies$ rake db:migrate
(in /home/ivor/workspace/talkies)
/usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:229:in
`files_to_load': File or directory not found: db:migra
Hi Guys
I am really having incredible issues with this error
i...@theluggage:~/workspace/talkies$ rake db:migrate
(in /home/ivor/workspace/talkies)
/usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:229:in
`files_to_load': File or directory not found: db:migrate (RuntimeError)
23 matches
Mail list logo