Sha256: 80cd2ac8d4ccbcc85ecead551d3ccfdaada579f573a641fee40d00c4624735ff

Contents?: true

Size: 337 Bytes

Versions: 14

Compression:

Stored size: 337 Bytes

Contents

require 'spec_helper'

describe "users/show" do
  before(:each) do
    @user = assign(:user, stub_model(User,
      :username => "Username"
    ))
  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(/Username/)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc12 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc11 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc10 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc9 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc8 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc7 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc6 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc5 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc4 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc3 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc2 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.rc1 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.beta3 spec/views/users/show.html.erb_spec.rb
enju_leaf-1.1.0.pre3 spec/views/users/show.html.erb_spec.rb