Sha256: afb14e3d36a79e2b94f0e7e8fbc5d158e1b272ed5c271951de557b5f041833ac

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'spec_helper'

describe "page/about" do
  fixtures :all

  before(:each) do
    view.stub(:current_user).and_return(User.find('enjuadmin'))
  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(/About this system/)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_leaf-1.2.0.beta.2 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.2.0.beta.1 spec/views/page/about.html.erb_spec.rb