Sha256: b89a48cec1682b1c999c4a147cac30b863f42a2dd666e3363f4109232ddba835

Contents?: true

Size: 347 Bytes

Versions: 19

Compression:

Stored size: 347 Bytes

Contents

require 'rails_helper'

describe "page/import" do
  fixtures :all

  before(:each) do
    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(/Import/)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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