Sha256: 9e1c577f05b9675a6a79b6e06f85e976c755ad40c02ef0575fb7287b5805afed

Contents?: true

Size: 387 Bytes

Versions: 14

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'

describe "platforms/edit.html.erb" do
  before(:each) do
    @platform = assign(:platform, stub_model(Platform))
  end

  it "renders the edit 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(@platform), :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/edit.html.erb_spec.rb
paper_trail_manager-0.5.0 spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.4.0 spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.3.0 spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.0.17/spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/common/spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.1.8/spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.2.8/spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.1.6 spec/dummy/spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.1.4 spec/dummy/spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.1.3 spec/dummy/spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.1.2 spec/dummy/spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.1.1 spec/dummy/spec/views/platforms/edit.html.erb_spec.rb
paper_trail_manager-0.1.0 spec/dummy/spec/views/platforms/edit.html.erb_spec.rb