Sha256: 09f926a2b607f655b4c46c3dd20de18b88b119c5051bb5a51ca7c765f8edfbaa

Contents?: true

Size: 297 Bytes

Versions: 9

Compression:

Stored size: 297 Bytes

Contents

require 'spec_helper'

describe "users/show" do
  before(:each) do
    @user = assign(:user, stub_model(User,
      email: "Email",
      name: "Name"
    ))
  end

  it "renders attributes in <p>" do
    render
    expect(rendered).to match /Email/
    expect(rendered).to match /Name/
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
raygun-0.0.24 app_prototype/spec/views/users/show.html.slim_spec.rb
raygun-0.0.23 app_prototype/spec/views/users/show.html.slim_spec.rb
raygun-0.0.22 app_prototype/spec/views/users/show.html.slim_spec.rb
raygun-0.0.21 app_prototype/spec/views/users/show.html.slim_spec.rb
raygun-0.0.18 app_prototype/spec/views/users/show.html.slim_spec.rb
raygun-0.0.17 app_prototype/spec/views/users/show.html.slim_spec.rb
raygun-0.0.16 app_prototype/spec/views/users/show.html.slim_spec.rb
raygun-0.0.15 app_prototype/spec/views/users/show.html.slim_spec.rb
raygun-0.0.14 app_prototype/spec/views/users/show.html.slim_spec.rb