Sha256: 9fc0daca3e2ee890620b4d126873216c6230cf948b02f669e5761e717d55e1c3

Contents?: true

Size: 264 Bytes

Versions: 7

Compression:

Stored size: 264 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb')

describe "<%= class_name.pluralize %> Controller", "index action" do
  before(:each) do
    @controller = <%= class_name.pluralize %>.build(fake_request)
    @controller.dispatch('index')
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
merb-0.4.0 rspec_generators/merb_controller_test/templates/controller_spec.rb
merb-0.4.1 rspec_generators/merb_controller_test/templates/controller_spec.rb
merb-0.4.2 rspec_generators/merb_controller_test/templates/controller_spec.rb
merb-0.5.0 rspec_generators/merb_controller_test/templates/controller_spec.rb
merb-0.5.1 rspec_generators/merb_controller_test/templates/controller_spec.rb
merb-0.5.2 rspec_generators/merb_controller_test/templates/controller_spec.rb
merb-0.5.3 rspec_generators/merb_controller_test/templates/controller_spec.rb