Sha256: 2f2456a0f497ac115df536a727c457f32f0abe0c5f11c0b87f83fec5b8fcef80

Contents?: true

Size: 556 Bytes

Versions: 12

Compression:

Stored size: 556 Bytes

Contents

require 'spec_helper'

describe 'krikri/reports/index.html.erb', type: :view do
  before do
    assign(:current_provider, provider)
    assign(:validation_reports, [])
    assign(:qa_reports, [])
  end

  let(:provider) { build(:krikri_provider) }

  it 'displays provider name' do
    render
    expect(rendered).to include provider.label.first
  end

  it 'renders validation reports' do
    render
    expect(rendered).to include 'Validation Reports'
  end

  it 'renders qa reports' do
    render
    expect(rendered).to include 'QA Reports'
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
krikri-0.7.2 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.7.1 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.7.0 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.6.0 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.5.7 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.5.6 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.5.5 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.5.4 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.5.3 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.5.2 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.5.1 spec/views/krikri/reports/index.html.erb_spec.rb
krikri-0.5.0 spec/views/krikri/reports/index.html.erb_spec.rb