Displaying 1 result from an estimated 1 matches for "be_fine".
2007 Sep 21
11
given_it
...example_definitions.find{|i|
i.description == name }
instance_eval(&example_definition.example_block)
end
so it is possible to write things like
it "should do something after another action" do
given_it "should successfully do another action"
do_something.should be_fine
end
Is there anything already in rspec that allows me to do the same
stuff? Or was it a bad idea at all?
Yurii.