Sha256: d9fc275a694b28bf5493e0400da7c615923aca6fd8b80c139b28f7b283d9097c

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

require 'spec_helper'

describe "ui spec", type: :feature, js: true do
  it 'should show each flash message' do
    visit '/test/ui'
    expect(page).to have_content 'Page loaded'
    expect(page).to have_content 'Inline Notice', count: 1
    expect(page).to have_content 'Ajax Error', count: 1
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
unobtrusive_flash-3.3.1 spec/integration/ui_spec.rb
unobtrusive_flash-3.3.0 spec/integration/ui_spec.rb
unobtrusive_flash-3.2.0 spec/integration/ui_spec.rb