Sha256: 17072173ade4c5aa56827c8a6d60e0a01d3de374f48643d74bced1a5be24a96f

Contents?: true

Size: 277 Bytes

Versions: 55

Compression:

Stored size: 277 Bytes

Contents

require 'rails_helper'

RSpec.describe "worms/edit", type: :view do
  before(:each) do
    @worm = assign(:worm, Worm.create!())
  end

  it "renders the edit worm form" do
    render

    assert_select "form[action=?][method=?]", worm_path(@worm), "post" do
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.9 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.8 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.7 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.6 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.5 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.4 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.3 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.2 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.1 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.5.0 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.4.9 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.4.8 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.4.7 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.4.6 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.4.5 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.4.4 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.4.3 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.4.2 spec/dummy/spec/views/worms/edit.html.erb_spec.rb
wordjelly-auth-1.4.0 spec/dummy/spec/views/worms/edit.html.erb_spec.rb