Displaying 1 result from an estimated 1 matches for "in_practice".
2007 Dec 14
13
RSpec-1.1.0 is released
...''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 ''spec''
class TransitionTest < Test::Unit::TestCase
def test_should_be_smooth
transition = Transition.new(
:from => "Test::Unit::TestCase",
:to => &quo...