Sha256: fc4be9f93a4b5f8b641f3be9190ffe300f4dd45a45e6f905f850a274352ff1b9

Contents?: true

Size: 292 Bytes

Versions: 13

Compression:

Stored size: 292 Bytes

Contents

require 'spec_helper'

describe 'users/_notify_number.html.erb', :type => :view do

  it "should draw 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

13 entries across 13 versions & 1 rubygems

Version Path
sufia-6.2.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.1.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-5.0.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.0.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.0.0.rc4 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.0.0.rc3 spec/views/users/_notify_number.html.erb_spec.rb
sufia-5.0.0.rc1 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.0.0.rc2 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.0.0.rc1 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.3.1 spec/views/users/_notify_number.html.erb_spec.rb
sufia-6.0.0.beta1 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.2.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.1.0 spec/views/users/_notify_number.html.erb_spec.rb