Sha256: 4832256860890fe51db1ef3438317f7101e12608b2c6f7a621156d09facdb3dd

Contents?: true

Size: 350 Bytes

Versions: 11

Compression:

Stored size: 350 Bytes

Contents

require 'test_helper'

class SomethingsControllerTest < ActionController::TestCase
  def setup
    @something = somethings :one
  end

  context "actions specified" do
    [:create, :edit, :update, :destroy, :new].each do |action|
      should "not respond to #{action}" do
        assert !@controller.respond_to?(action)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
makandra_resource_controller-0.8.0 test/test/functional/somethings_controller_test.rb
resources_controller-1.0.4 test/test/functional/somethings_controller_test.rb
resources_controller-1.0.3 test/test/functional/somethings_controller_test.rb
resources_controller-1.0.2 test/test/functional/somethings_controller_test.rb
makandra_resource_controller-0.7.3 test/test/functional/somethings_controller_test.rb
makandra_resource_controller-0.7.2 test/test/functional/somethings_controller_test.rb
rd_resource_controller-1.0.1 test/test/functional/somethings_controller_test.rb
rd_resource_controller-1.0.0 test/test/functional/somethings_controller_test.rb
makandra_resource_controller-0.7.1 test/test/functional/somethings_controller_test.rb
makandra_resource_controller-0.7.0 test/test/functional/somethings_controller_test.rb
rd_resource_controller-1.0.0.rc test/test/functional/somethings_controller_test.rb