Sha256: f88612a18888ec9e3700e9e4a1083f4f99539fd878347abba144fe1fd699ac3b

Contents?: true

Size: 405 Bytes

Versions: 19

Compression:

Stored size: 405 Bytes

Contents

require 'rails_helper'

describe "page/statistics" do
  fixtures :all

  before(:each) do
    @profile = assign(:profile, profiles(:admin))
    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(/Statistics/)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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