Sha256: 562d2522c7376e2fef69362abea5e6afbd6bad3df4ae3c4ac91f19b8cb497661

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

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

describe "page/import" 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(/Import/)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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