Sha256: 32c34a635b103aef06acb4a75944028a2a7638514e8b3fa72f805d490fb05e55

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

require 'spec_helper'

describe "page/index" do
  fixtures :all

  before(:each) do
    view.stub(:current_user).and_return(User.friendly.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(/Catalog search/)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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