Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed typo in table_for_spec.rb

  • Loading branch information...
commit 392fdc109a1a6e8b18aa24a77b62c1b9a12fe63f 1 parent 1f401fd
@Fivell Fivell authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/unit/views/components/table_for_spec.rb
View
4 spec/unit/views/components/table_for_spec.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.