On Fri, Mar 4, 2011 at 8:12 PM, Matt Wynne wrote:
>
> On 4 Mar 2011, at 05:45, Hedge Hog wrote:
>
>> Hi,
>> I'm struggling with something that seems to be simple, and I've not
>> had any joy following the RSpec books suggestions (p. 187).
>> I'd like to test that a method raises and error when a f
On 5 Mar 2011, at 12:06, Hedge Hog wrote:
> On Fri, Mar 4, 2011 at 8:12 PM, Matt Wynne wrote:
>>
>> On 4 Mar 2011, at 05:45, Hedge Hog wrote:
>>
>>> Hi,
>>> I'm struggling with something that seems to be simple, and I've not
>>> had any joy following the RSpec books suggestions (p. 187).
>>> I
Hi,
I am upgrading a rails 2.1.0 app to Rails 3. Before I started my migration, I
wrote all the tests cases for my app in Rspec 1.x version.
I am doubting whether rspec test cases written in 1.x version will work when my
app starts running in Rails3. After I upgrade to rails 3, i want to run my
All the RSpec installation instructions I've seen (except the RSpec
Book) say something like:
Set up the RSpec generator by adding the following to config/
applicaton.rb:
config.generators do |g|
g.test_framework :rspec
end
Or
Create a generator configuration file config/initializers/
generato
On Mar 1, 2011, at 2:59 PM, Daniel Kehoe wrote:
> All the RSpec installation instructions I've seen (except the RSpec
> Book) say something like:
>
> Set up the RSpec generator by adding the following to config/
> applicaton.rb:
> config.generators do |g|
> g.test_framework :rspec
> end
>
> Or
I have a tricky problem with running rake spec in a Rails 3.0.3
project (using rspec-2.5.0, rspec-rails and rake 0.8.7). It may be
that this mailing list is not the correct one to ask for help, but I
am hoping that it is. When I run 'rake spec', the spec files for one
of the gems my project uses
On Mar 1, 2011, at 7:33 PM, Lakshmanan wrote:
> Hi,
>
> I am upgrading a rails 2.1.0 app to Rails 3. Before I started my migration, I
> wrote all the tests cases for my app in Rspec 1.x version.
>
> I am doubting whether rspec test cases written in 1.x version will work when
> my app starts ru
In the proxy.rb file, Rspec 1.3.1 added a stanza to the it/else stack
elsif @target.is_a?(Class)
@target.superclass.send(sym, *args, &block)
This just seems wrong to me and I'm pretty sure it's causing
catastrophic errors in my build.
Consider the following example:
require 's
On Mar 4, 2011, at 9:53 PM, Mario Aquino wrote:
> I have a tricky problem with running rake spec in a Rails 3.0.3
> project (using rspec-2.5.0, rspec-rails and rake 0.8.7). It may be
> that this mailing list is not the correct one to ask for help, but I
> am hoping that it is. When I run 'rake s
On Tue, Mar 1, 2011 at 7:33 PM, Lakshmanan wrote:
> Hi,
>
> I am upgrading a rails 2.1.0 app to Rails 3.
Just a note, you may want to try upgrading first to the latest Rails 2 (is
it still 2.3.9?) version. You will still have a lot to do jumping between
the latest 2 and 3 but seems that a lot o
10 matches
Mail list logo