Sha256: b3ab5304760940c278a0f0d63f9d3bef03bfb8bca84df93be0b49991cc2040be

Contents?: true

Size: 384 Bytes

Versions: 11

Compression:

Stored size: 384 Bytes

Contents

require 'spec_helper'

describe "users/index" do
  before(:each) do
    assign(:users, [
      build_stubbed(:user, name: "Name", email: "Email"),
      build_stubbed(:user, name: "Name", email: "Email")
    ])
  end

  it "renders a list of users" do
    render
    assert_select "tr>td", text: "Email".to_s, count: 2
    assert_select "tr>td", text: "Name".to_s, count: 2
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
raygun-0.0.34 rails_32/spec/views/users/index.html.slim_spec.rb
raygun-0.0.34.pre2 rails_32/spec/views/users/index.html.slim_spec.rb
raygun-0.0.33 rails_32/spec/views/users/index.html.slim_spec.rb
raygun-0.0.32 rails_32/spec/views/users/index.html.slim_spec.rb
raygun-0.0.31 rails_32/spec/views/users/index.html.slim_spec.rb
raygun-0.0.30 rails_32/spec/views/users/index.html.slim_spec.rb
raygun-0.0.29 rails_32/spec/views/users/index.html.slim_spec.rb
raygun-0.0.28 rails_32/spec/views/users/index.html.slim_spec.rb
raygun-0.0.27 app_prototype/spec/views/users/index.html.slim_spec.rb
raygun-0.0.26 app_prototype/spec/views/users/index.html.slim_spec.rb
raygun-0.0.25 app_prototype/spec/views/users/index.html.slim_spec.rb