From 392fdc109a1a6e8b18aa24a77b62c1b9a12fe63f Mon Sep 17 00:00:00 2001 From: Igor Date: Sun, 4 Nov 2012 11:12:26 +0200 Subject: [PATCH] fixed typo in table_for_spec.rb --- spec/unit/views/components/table_for_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/unit/views/components/table_for_spec.rb b/spec/unit/views/components/table_for_spec.rb index ed170e6d3f9..d88dd618c4d 100644 --- a/spec/unit/views/components/table_for_spec.rb +++ b/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