Jo,
You may look at shoulda if you want to continue to use test unit but want some
of the feel of rspec.
Good luck
Jed
Sent from my iPad
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Tue, Nov 30, 2010 at 9:39 PM, David Chelimsky wrote:
> Yes, it does, which is why I like to use rspec for the whole thing :)
I see... In that case I think I'll go ahead and try migrating all my
tests to RSpec. And this ...
> https://github.com/glv/rspec-unit
... will definitely help on the
On Nov 30, 2010, at 2:11 PM, Jo Liss wrote:
> On Tue, Nov 30, 2010 at 7:21 PM, David Chelimsky wrote:
>> Or is there a problem you're trying to solve by intermingling them?
>>
>> I'd recommend keeping specs under the spec directory and run them separately
>> from Test::Unit tests.
>
> Ah, I se
On Tue, Nov 30, 2010 at 7:21 PM, David Chelimsky wrote:
> Or is there a problem you're trying to solve by intermingling them?
>
> I'd recommend keeping specs under the spec directory and run them separately
> from Test::Unit tests.
Ah, I see -- thanks for the quick reply!
So, I'm really trying
On Nov 30, 2010, at 10:28 AM, Jo Liss wrote:
> One more thing: If instead of "test 'something'" I write "def
> test_something", like so:
>
> require 'test_helper'
> class FirstTest < ActiveSupport::TestCase
> def test_something
>assert_equal 42, 84
> end
> end
> class SecondTest < ActiveS
Hey everyone,
(I'm a newbie, so if I'm doing something wrong, please let me know! ^^)
I'm getting weird errors when I mix RSpec and Test::Unit tests. Here is
how to reproduce it with Rails 3:
Run "rails new railsapp". Add "gem 'rspec'" to the Gemfile, and create
test/unit/demo_test.rb with the
One more thing: If instead of "test 'something'" I write "def
test_something", like so:
require 'test_helper'
class FirstTest < ActiveSupport::TestCase
def test_something
assert_equal 42, 84
end
end
class SecondTest < ActiveSupport::TestCase
def test_something
assert_equal 42, 84