rspec-documentation/pages/Components/Tables.md in active_element-0.0.3 vs rspec-documentation/pages/Components/Tables.md in active_element-0.0.4

- old
+ new

@@ -13,11 +13,11 @@ collection = [ User.new(name: 'John', email: 'john@example.com'), User.new(name: 'Jane', email: 'jane@example.org') ] -html = active_element_component.table collection: collection, fields: [:name, :email] +html = active_element.component.table collection: collection, fields: [:name, :email] it_documents html do expect(html).to include 'John' end ``` @@ -30,10 +30,10 @@ class User < ActiveRecord::Base end item = User.new(name: 'John', email: 'john@example.com', overview: 'Writes Ruby code for a living.') -html = active_element_component.table item: item, fields: [:name, :email, :password, :secret] +html = active_element.component.table item: item, fields: [:name, :email, :password, :secret] it_documents html do expect(html).to include 'John' end ```