Sha256: 93539f003d3eea1fa527d7a8fa51742e777e1c3e3c5c78e2c0832a626f8b65ec

Contents?: true

Size: 276 Bytes

Versions: 10

Compression:

Stored size: 276 Bytes

Contents

require 'spec_helper'

describe 'users/_notify_number.html.erb' 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

10 entries across 10 versions & 1 rubygems

Version Path
sufia-4.0.1 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.0.0 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.0.0.rc2 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.0.0.rc1 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.0.0.beta4 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.0.0.beta3 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.0.0.beta2 spec/views/users/_notify_number.html.erb_spec.rb
sufia-4.0.0.beta1 spec/views/users/_notify_number.html.erb_spec.rb
sufia-3.7.2 spec/views/users/_notify_number.html.erb_spec.rb
sufia-3.7.1 spec/views/users/_notify_number.html.erb_spec.rb