Sha256: 4a1a6b9970387013b012b42a570dbee5049755dab7d80856efea1498a33d8307

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

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

describe "page/advanced_search" do
  fixtures :all

  before(:each) do
    assign(:libraries, Library.all)
    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(/Advanced search/)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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