Sha256: 816db67fee577e09a758c1d326de02f6edfb37d923c260d17be3bd737db8233f

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

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

describe "page/configuration" 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(/Checkout/)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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