Sha256: 3c1ca12c652b14114960a207aab20e8a785b8eca6b1f888129acf9289d2453f9

Contents?: true

Size: 401 Bytes

Versions: 3

Compression:

Stored size: 401 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
enju_leaf-1.2.0 spec/views/page/advanced_search.html.erb_spec.rb
enju_leaf-1.2.0.beta.4 spec/views/page/advanced_search.html.erb_spec.rb
enju_leaf-1.2.0.beta.3 spec/views/page/advanced_search.html.erb_spec.rb