Sha256: 558e6bcc770c01b2abb4cd5ed1022bbae2ab1e0ed0c62652812eb5e46a8a6380

Contents?: true

Size: 280 Bytes

Versions: 6

Compression:

Stored size: 280 Bytes

Contents

require 'spec_helper'

describe 'users/_notify_number.html.erb', type: :view do
  it "draws user list" do
    assign :notify_number, 8
    render
    page = Capybara::Node::Simple.new(rendered)
    expect(page).to have_selector("span#notify_number.overlay", text: ' 8')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sufia-6.7.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.6.1 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.6.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.5.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.4.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.3.0 spec/views/users/_notify_number.html.erb_spec.rb