Sha256: 23b5eed816505482d5aef0b60cf95e906e8b6e5cdf3433e85c2631d16c357a8a

Contents?: true

Size: 132 Bytes

Versions: 16

Compression:

Stored size: 132 Bytes

Contents

module FeatureSpecHelper
  def table_contant(table)
    first(table).all('tr').map {|row| row.all('th, td').map(&:text) }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
adhoq-1.0.2 spec/support/feature_spec_helper.rb
adhoq-1.0.1 spec/support/feature_spec_helper.rb
adhoq-1.0.0 spec/support/feature_spec_helper.rb
adhoq-0.5.0 spec/support/feature_spec_helper.rb
adhoq-0.5.0.beta1 spec/support/feature_spec_helper.rb
adhoq-0.4.0 spec/support/feature_spec_helper.rb
adhoq-0.3.0 spec/support/feature_spec_helper.rb
adhoq-0.2.0 spec/support/feature_spec_helper.rb
adhoq-0.1.2 spec/support/feature_spec_helper.rb
adhoq-0.1.1 spec/support/feature_spec_helper.rb
adhoq-0.1.0 spec/support/feature_spec_helper.rb
adhoq-0.0.7 spec/support/feature_spec_helper.rb
adhoq-0.0.6 spec/support/feature_spec_helper.rb
adhoq-0.0.5 spec/support/feature_spec_helper.rb
adhoq-0.0.4 spec/support/feature_spec_helper.rb
adhoq-0.0.3 spec/support/feature_spec_helper.rb