File: assigns_controller.rb

package info (click to toggle)
ruby-rails-controller-testing 1.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,016 kB
  • sloc: ruby: 646; makefile: 4
file content (7 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
class AssignsController < ActionController::Base
  def test_assigns
    @foo = "foo"
    @foo_hash = { foo: :bar }
    head :ok
  end
end