Created
October 2, 2012 14:43
-
-
Save phlegx/3819689 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rspec view | |
assert_select "tr>td", :text => "something1".to_s, :count => 2 | |
assert_select "tr>td", :text => "something2".to_s, :count => 2 | |
assert_select "tr>td", :text => "something3".to_s, :count => 2 | |
#view: | |
... | |
%td | |
= ch.something1 | |
%td | |
= ch.something2 | |
%td | |
= ch.something3 | |
( | |
= ch.something_else | |
) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment