Sha256: e8ec9fd1fe4a2c780503c6b52ac045b5cc0c4b904f7238f20e910ced5d9d5f59

Contents?: true

Size: 354 Bytes

Versions: 19

Compression:

Stored size: 354 Bytes

Contents

require 'rails_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

19 entries across 19 versions & 1 rubygems

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