Sha256: f4d84a790e4da69d765123d0175800050543e6dea599b17467930bfb68ecfd48

Contents?: true

Size: 379 Bytes

Versions: 1

Compression:

Stored size: 379 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
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/Email/)
    rendered.should match(/Name/)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
raygun-0.0.13 app_prototype/spec/views/users/show.html.slim_spec.rb