Sha256: aeb27a4eb492a122b73cf771cd422c96cf3aa2e6e0f3cb463bbe656fac365d01
Contents?: true
Size: 1014 Bytes
Versions: 5
Compression:
Stored size: 1014 Bytes
Contents
require 'spec_helper' describe 'home tab' do before(:each) do visit '/' end it 'should work' do page.should have_content('This tests the most basic usage of tabulous.') end end describe 'galaxies tab' do before(:each) do visit '/' click_link 'Galaxies' end it 'should work' do page.should have_content('Listing Galaxies') page.should_not have_content('Listing Stars') page.should_not have_content('Listing Planets') end end describe 'stars tab' do before(:each) do visit '/' click_link 'Stars' end it 'should work' do page.should_not have_content('Listing Galaxies') page.should have_content('Listing Stars') page.should_not have_content('Listing Planets') end end describe 'planets tab' do before(:each) do visit '/' click_link 'Planets' end it 'should work' do page.should_not have_content('Listing Galaxies') page.should_not have_content('Listing Stars') page.should have_content('Listing Planets') end end
Version data entries
5 entries across 3 versions & 1 rubygems