spec/unit/views/components/attributes_table_spec.rb in activeadmin-1.0.0.pre2 vs spec/unit/views/components/attributes_table_spec.rb in activeadmin-1.0.0.pre3
- old
+ new
@@ -168,10 +168,10 @@
attributes_table_for posts, :id, :title
end
end
it "does not set id on the table" do
- expect(table.attr(:id)).to be_nil
+ expect(table.attr(:id)).to eq nil
end
context "colgroup" do
let(:cols) { table.find_by_tag "col" }