Sha256: 3bc4ad00c9aefb42e34563051d08f17a8b3ddd532caef1144268187ee3fcbfff

Contents?: true

Size: 266 Bytes

Versions: 4

Compression:

Stored size: 266 Bytes

Contents

require File.join(File.dirname(__FILE__), "<%= Array.new((controller_modules.size + 1),'..').join("/") %>", 'spec_helper.rb')

describe <%= full_controller_const %>, "index action" do
  before(:each) do
    dispatch_to(<%= full_controller_const %>, :index)
  end
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
merb-gen-0.9.3 rspec_generators/merb_controller_test/templates/spec/controllers/%controller_full_file_path%_spec.rb
merb-gen-0.9.2 rspec_generators/merb_controller_test/templates/spec/controllers/%controller_full_file_path%_spec.rb
merb-gen-0.9.2 rspec_generators/merb_resource_controller_test/templates/spec/controllers/%controller_full_file_path%_spec.rb
merb-gen-0.9.3 rspec_generators/merb_resource_controller_test/templates/spec/controllers/%controller_full_file_path%_spec.rb