Sha256: a59fcb28f16b2b36d9156b751b6c62810fcae9c260654e11adbf058092827378

Contents?: true

Size: 412 Bytes

Versions: 19

Compression:

Stored size: 412 Bytes

Contents

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

19 entries across 19 versions & 1 rubygems

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