Sha256: 20f4e877b27b266df7610dd4d5b84bc2c43cf64d1b7878c5d41fef7fd9019b70

Contents?: true

Size: 142 Bytes

Versions: 5

Compression:

Stored size: 142 Bytes

Contents

  it "edit action should render edit template" do
    get :edit, id: <%= class_name %>.first
    response.should render_template(:edit)
  end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zoo-generators-0.1.5 lib/generators/zoo/scaffold/templates/tests/rspec/actions/edit.rb
zoo-generators-0.1.4 lib/generators/zoo/scaffold/templates/tests/rspec/actions/edit.rb
zoo-generators-0.1.3 lib/generators/zoo/scaffold/templates/tests/rspec/actions/edit.rb
zoo-generators-0.1.2 lib/generators/zoo/scaffold/templates/tests/rspec/actions/edit.rb
zoo-generators-0.1.1 lib/generators/zoo/scaffold/templates/tests/rspec/actions/edit.rb