Sha256: 022cb8db9bc2e54bc3c3af0d94d02d03aa754c44bc8876812e8ca76061a7236b

Contents?: true

Size: 367 Bytes

Versions: 12

Compression:

Stored size: 367 Bytes

Contents

require 'spec_helper'

describe EmployeeWithCustomClientReport do

  describe "rendering HTML" do

    it "builds a report using the specified client's database" do
      visit '/reports/employee_with_custom_client'
      expect(page).to have_selector('table tbody tr', count: 3)
      expect(page).to have_selector('td', text: 'ELISE ELDERBERRY')
    end

  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dossier-3.0.0.pre spec/features/employee_with_custom_client_spec.rb
dossier-2.13.1 spec/features/employee_with_custom_client_spec.rb
dossier-2.12.2 spec/features/employee_with_custom_client_spec.rb
dossier-2.12.1 spec/features/employee_with_custom_client_spec.rb
dossier-2.12.0 spec/features/employee_with_custom_client_spec.rb
dossier-2.11.0 spec/features/employee_with_custom_client_spec.rb
dossier-2.10.0 spec/features/employee_with_custom_client_spec.rb
dossier-2.9.3 spec/features/employee_with_custom_client_spec.rb
dossier-2.9.2 spec/features/employee_with_custom_client_spec.rb
dossier-2.9.1 spec/features/employee_with_custom_client_spec.rb
dossier-2.9.0 spec/features/employee_with_custom_client_spec.rb
dossier-2.8.0 spec/features/employee_with_custom_client_spec.rb