Sha256: 35ce4df7a814e00d8ab115a4f51c15129050b8daa46e8324a098bab6033dccc3

Contents?: true

Size: 364 Bytes

Versions: 14

Compression:

Stored size: 364 Bytes

Contents

require 'spec_helper'

describe "entities/new.html.erb" do
  before(:each) do
    assign(:entity, stub_model(Entity).as_new_record)
  end

  it "renders new entity form" do
    render

    # Run the generator again with the --webrat flag if you want to use webrat matchers
    assert_select "form", :action => entities_path, :method => "post" do
    end
  end
end

Version data entries

14 entries across 11 versions & 1 rubygems

Version Path
paper_trail_manager-0.6.0 spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.5.0 spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.4.0 spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.3.0 spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.0.17/spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/common/spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.1.8/spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.2.8/spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.1.6 spec/dummy/spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.1.4 spec/dummy/spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.1.3 spec/dummy/spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.1.2 spec/dummy/spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.1.1 spec/dummy/spec/views/entities/new.html.erb_spec.rb
paper_trail_manager-0.1.0 spec/dummy/spec/views/entities/new.html.erb_spec.rb