Sha256: 58b15f64dcb6fa16e725253f8fca1e1f26256e4e484814ee08ffe7c4e05fbf86

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

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

describe "page/export" do
  fixtures :all

  before(:each) do
    view.stub(:current_user).and_return(User.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(/Export/)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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