Sha256: 9fa3a43f497a6027fcecd9ca7f6fc3683db6a30c956b1ce912fd6988751e91a7

Contents?: true

Size: 357 Bytes

Versions: 19

Compression:

Stored size: 357 Bytes

Contents

require 'rails_helper'

describe "page/about" 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(/About this system/)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
enju_leaf-1.3.6 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.5 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.4 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.4.rc.2 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.4.rc.1 spec/views/page/about.html.erb_spec.rb
enju_leaf-2.0.0.beta.2 spec/views/page/about.html.erb_spec.rb
enju_leaf-2.0.0.beta.1 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.3.1 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.3 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.2 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.1 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.0 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.0.rc.1 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.3.0.beta.2 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.2.2 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.2.1 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.2.0 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.2.0.beta.4 spec/views/page/about.html.erb_spec.rb
enju_leaf-1.2.0.beta.3 spec/views/page/about.html.erb_spec.rb