Displaying 2 results from an estimated 2 matches for "be_xhtml".
Did you mean:
use_xhtml
2007 Sep 27
3
There is a easy way to valid markup?
Do I have to create a custom Expectation Matcher?
or there is a way to integrate assert_valid_asset plugin?
thx
--
Edgar Gonz?lez Gonz?lez
--
2007 Aug 24
26
testing behaviour or testing code?
hypothetical question for all you BDD experts:
I want to make sure that a :list action always returns widgets in
alphabetical order. There''s at least 2 ways of doing this:
it "should fetch items in alphabetical order" do
Widget.should_receive(:find).with(:order => "name ASC")
get :list
end
it "should fetch items in alphabetical order" do
[:red,