Sha256: 3051f9f3b96c65f1ecdf5f3d236abb38d7a777fb869b13f084dee5600f1f59f2

Contents?: true

Size: 372 Bytes

Versions: 14

Compression:

Stored size: 372 Bytes

Contents

require 'spec_helper'

describe "platforms/new.html.erb" do
  before(:each) do
    assign(:platform, stub_model(Platform).as_new_record)
  end

  it "renders new platform form" do
    render

    # Run the generator again with the --webrat flag if you want to use webrat matchers
    assert_select "form", :action => platforms_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/platforms/new.html.erb_spec.rb
paper_trail_manager-0.5.0 spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.4.0 spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.3.0 spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.0.17/spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/common/spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.1.8/spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.2.8/spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.1.6 spec/dummy/spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.1.4 spec/dummy/spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.1.3 spec/dummy/spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.1.2 spec/dummy/spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.1.1 spec/dummy/spec/views/platforms/new.html.erb_spec.rb
paper_trail_manager-0.1.0 spec/dummy/spec/views/platforms/new.html.erb_spec.rb