Sha256: 7c85b7d173055bed22c050849cb30c8b71f4318c2687d56cd7a4948aa65bf9ec

Contents?: true

Size: 372 Bytes

Versions: 4

Compression:

Stored size: 372 Bytes

Contents

require 'rails_helper'

describe "page/configuration" do
  fixtures :all

  before(:each) do
    view.stub(:current_user).and_return(User.find_by(username: '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(/System configuration/)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enju_leaf-1.3.6 spec/views/page/configuration.html.erb_spec.rb
enju_leaf-1.3.5 spec/views/page/configuration.html.erb_spec.rb
enju_leaf-1.3.4 spec/views/page/configuration.html.erb_spec.rb
enju_leaf-1.3.4.rc.2 spec/views/page/configuration.html.erb_spec.rb