Sha256: d1bfa49ed3b11f5078070beddd0af00c8a695f353c78c6a0076fd7ba3a2024e0

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

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

describe "page/statistics" do
  fixtures :all

  before(:each) do
    @profile = assign(:profile, profiles(:admin))
    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/statistics.html.erb_spec.rb
enju_leaf-1.2.0.beta.1 spec/views/page/statistics.html.erb_spec.rb