Skip to content

Commit

Permalink
fixed typo in table_for_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Fivell committed Nov 4, 2012
1 parent 1f401fd commit 392fdc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/views/components/table_for_spec.rb
Expand Up @@ -125,12 +125,12 @@

it "should add a class to each table header based on class option or the col name" do
table.find_by_tag("th").first.class_list.should include("my_custom_title")
table.find_by_tag("th").lasr.class_list.should include("datetime")
table.find_by_tag("th").last.class_list.should include("datetime")
end

it "should add a class to each cell based on class option or the col name" do
table.find_by_tag("td").first.class_list.should include("my_custom_title")
table.find_by_tag("td").lasr.class_list.should include("datetime")
table.find_by_tag("td").last.class_list.should include("datetime")
end


Expand Down

0 comments on commit 392fdc1

Please sign in to comment.