Sha256: 2f1ece283a8a16845ed5526e247fdc514987a8a037928afdfd21426e2d27e5f2

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 Bytes

Contents

if ENV['BROWSER']
  require 'spec_helper'

  describe "integration test", :type => :feature do
    it "should load the page" do
      visit '/'

      expect(page).to have_content('Home')
      # expect(page).to have_content('About')
      # page.has_text?('About')
      # puts "HAS CONTENT: #{page.has_text?('About')}"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
volt-0.7.23 spec/integration/test_integration_spec.rb
volt-0.7.22 spec/integration/test_integration_spec.rb
volt-0.7.21 spec/integration/test_integration_spec.rb