Displaying 1 result from an estimated 1 matches for "test_should_be_smooth".
2007 Dec 14
13
RSpec-1.1.0 is released
...een a Test::Unit wrapper since the the 0.7 release in November of
2006. RSpec 1.1 ups the ante though, offering a smooth transition from
Test::Unit to RSpec with or without Rails:
1. Start with a TestCase:
require ''test/unit''
class TransitionTest < Test::Unit::TestCase
def test_should_be_smooth
transition = Transition.new(
:from => "Test::Unit::TestCase",
:to => "Spec::ExampleGroup"
)
assert_equal "really smooth", transition.in_practice
end
end
2. Require ''spec''
require ''test/unit''
require &...