Permalink
Browse files

Fixed specs for Attributes Table component

The attributes_table component no longer renders a wrapper div.
Instead it renders a table directly... which makes more sense.
  • Loading branch information...
1 parent 3441eba commit aa987ef289837e79e577432d28857e4bcc09df8f @gregbell gregbell committed Nov 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/unit/views/components/attributes_table_spec.rb
@@ -52,8 +52,8 @@
context context_title do
let(:table) { instance_eval &table_decleration }
- it "should render a div wrapper with the class '.attributes_table'" do
- table.tag_name.should == 'div'
+ it "should render a table with the class '.attributes_table'" do
+ table.tag_name.should == 'table'
table.attr(:class).should include('attributes_table')
end

0 comments on commit aa987ef

Please sign in to comment.