Sha256: 4789c3a62d02bb5cd6f9fdf15acacf15a7717644bd60586eddebac2ec2681bf6
Contents?: true
Size: 445 Bytes
Versions: 3
Compression:
Stored size: 445 Bytes
Contents
require 'spec_helper' describe 'Theme', type: :request do describe 'Empty' do it 'should display text when the table has no data' do visit '/themes/empty_with_no_data' page.should have_xpath('//td[1][text()="There is no data."]') end it 'should not display text when the table has data' do visit '/themes/empty_with_data' page.should have_no_xpath('//td[1][text()="There is no data."]') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tableficate-0.3.2 | spec/theme/empty_spec.rb |
tableficate-0.3.1 | spec/theme/empty_spec.rb |
tableficate-0.3.0 | spec/theme/empty_spec.rb |