Sha256: dcb3c6922823db54df39c4b20870679382693a7e9a98723af16eef8e14d1e388

Contents?: true

Size: 437 Bytes

Versions: 2

Compression:

Stored size: 437 Bytes

Contents

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

describe "page/opensearch" do
  fixtures :all

  before(:each) do
    assign(:library_group, LibraryGroup.site_config)
    view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
  end

  it "renders the XML template" do
    render
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/Library Catalog/)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_leaf-1.2.0.beta.2 spec/views/page/opensearch.xml.builder_spec.rb
enju_leaf-1.2.0.beta.1 spec/views/page/opensearch.xml.builder_spec.rb